Answers for "how to loop through all parents of an object in roblox"

7

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

Code answers related to "how to loop through all parents of an object in roblox"

Browse Popular Code Answers by Language