Answers for "How to get all childeren roblox studio"

6

get children roblox

local children = workspace:GetChildren()
for i = 1, #children do
    print(i, children[i].Name)
end
Posted by: Guest on May-07-2020
1

How to get all childeren roblox studio

-- Numeric for-loop example
local children = workspace:GetChildren()
for i = 1, #children do
	local child = children[i]
	print(child.Name .. " is child number " .. i)
end

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

local children = workspace:GetChildren()
for i = 1, #children do
    print(i, children[i].Name)
end
Posted by: Guest on November-27-2020
-1

lua getchildren

thing:GetChildren()
Posted by: Guest on July-04-2020

Code answers related to "How to get all childeren roblox studio"

Browse Popular Code Answers by Language