📅  最后修改于: 2022-03-11 14:54:55.627000             🧑  作者: Mango
-- Generic for-loop example
local children = workspace:GetChildren()
for i, child in ipairs(children) do
print(child.Name .. " is child number " .. i)
end