GetChildren (Function)
From Legacy Roblox Wiki
|
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
|
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