Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Is there a way of accessing all of a instances children?

Is there a way of accessing all of a instances children?

Player = game.Players.LocalPlayer Character = Player.Character

For example, if I want to access all of "Characters" children which is Torso,Arm, and so on, how would I access all of it

How do I access all the children?

2 comments

0

I already know you can use FindFirstChild

1 answer

✓ Accepted answer

Use the Object:GetChildren() method.

This returns all Instances inside "Object" in a table.

This discussion is preserved as it was. New answers, comments, and votes are closed.