loop throug children roblx code example
Example 1: get children roblox
local children = workspace:GetChildren()
for i = 1, #children do
print(i, children[i].Name)
end
Example 2: lua getchildren
thing:GetChildren()
local children = workspace:GetChildren()
for i = 1, #children do
print(i, children[i].Name)
end
thing:GetChildren()