|
| 17 Aug 2015 11:31 AM |
| i need a for loop to check through a folder or model or something, but I don't know how |
|
|
| Report Abuse |
|
|
|
| 17 Aug 2015 11:31 AM |
local model =
for Index, Content in pairs(model:GetChildren()) do
end |
|
|
| Report Abuse |
|
|
CrowClaws
|
  |
| Joined: 04 Jul 2010 |
| Total Posts: 4466 |
|
|
| 17 Aug 2015 11:32 AM |
model:GetChildren() there's ur table |
|
|
| Report Abuse |
|
|
|
| 17 Aug 2015 11:32 AM |
for _,obj in ipairs(FOLDER:GetChildren()) do -- obj is every descendant end |
|
|
| Report Abuse |
|
|
Drakles
|
  |
| Joined: 19 Oct 2014 |
| Total Posts: 1066 |
|
|
| 17 Aug 2015 11:32 AM |
local model = game.Workspace.Model:GetChildren();
for i,v in next, model do print(v.Name); end
This'll look through the given model and print each object's name.
Life is short, so grip it and rip it. |
|
|
| Report Abuse |
|
|
| |
|