is there a way to get all the parenting objects of a part or a Gui or anything?
something like :GetParents or :FindFirstParent ?
is there a way to get all the parenting objects of a part or a Gui or anything?
something like :GetParents or :FindFirstParent ?
local GetAllTheStuff = workspace.Part:GetDescendants()
print(GetAllTheStuff)
GetDescendants()
basically returns back an array of all the objects parented inside depending on where you want to search for
not GetDescendants() because im trying to find all the parents of a part
You could do FindFirstAncestor to get the parents you can read up on it here Instance | Roblox Creator Documentation