Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR LUA

roblox children for loop

-- Generic for-loop example
local children = workspace:GetChildren()
for i, child in ipairs(children) do
	print(child.Name .. " is child number " .. i)
end
Source by developer.roblox.com #
 
PREVIOUS NEXT
Tagged: #roblox #children #loop
ADD COMMENT
Topic
Name
2+6 =