get children roblox
local children = workspace:GetChildren()
for i = 1, #children do
print(i, children[i].Name)
end
get children roblox
local children = workspace:GetChildren()
for i = 1, #children do
print(i, children[i].Name)
end
get children roblox
--[[
instance
child_1
child_1_1
child_2
child_3
child_3_1
]]
local children = instance:GetChildren()
print(children) --[[ prints:
{
[1] = child_1,
[2] = child_2,
[3] = child_3
}
]]
local descendants = instance:GetDescendants()
print(descendants) --[[ prints:
{
[1] = child_1,
[2] = child_1_1,
[3] = child_2,
[4] = child_3,
[5] = child_3_1
}
]]
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us