Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR LUA

Children Loop Roblox Lua

-- 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: #Children #Loop #Roblox #Lua
ADD COMMENT
Topic
Name
7+2 =