menu
Roblox Forum Archive
Home
User Search
Forums
Donate
search
settings
Home
User Search
Forums
Donate
launch
Go to User Dashboard
Forums
Scripting Helpers
Can I get the children of a loop?
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right
Can I get the children of a loop?
badfitz99
Join Date: 2010-05-01
Post Count: 5854
#139126963
Thursday, July 03, 2014 7:07 PM GMT
colorchildren = colors[i]:GetChildren() the children of colors are all bricks
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
AnonyAnonymous
Join Date: 2013-06-23
Post Count: 6332
#139135592
Thursday, July 03, 2014 8:13 PM GMT
Alright, here's an example you could use. Model = game.Workspace.Model:GetChildren() for i = 1,#Model do print(Model[i].Name) end
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right