GetChildren (Function): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>ArceusInator better example |
>ArceusInator better example |
(No difference)
|
Revision as of 21:45, 27 December 2010
|
Description
Example
local children = game.Workspace:GetChildren() for i = 1, #children do if children[i]:IsA( "BasePart" ) then children[i].Color = Color3.new( 1, 0, 0 ) end end