Children Loop Roblox Lua

[Solved] Children Loop Roblox Lua | Lua - Code Explorer | yomemimo.com
Question : Children Loop Roblox Lua

Answered by : alive-aardvark-6706uylsl5py

-- Generic for-loop example
local children = workspace:GetChildren()
for i, child in ipairs(children) do	print(child.Name .. " is child number " .. i)
end

Source : https://developer.roblox.com/en-us/api-reference/function/Instance/GetChildren | Last Update : Wed, 08 Dec 21

Answers related to Children Loop Roblox Lua

Code Explorer Popular Question For Lua