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

Hands not being identified with :GetChildren()?

So I need to find the hands of a character. while trying to use :GetChildren() to do so, I stumbled upon a problem.

Hands are not in the table.

This is the script I used:

local Character = script.Parent
local Desc = Character:GetChildren()

for index, children in pairs(Desc) do
	if children:IsA("BasePart") then
		print(children.Name)
	end
end

this is what I got:

HumanoidRootPart
  LeftLowerArm
  LeftUpperArm
  LowerTorso
  RightLowerArm
  RightUpperArm
  LeftUpperLeg
  RightUpperLeg
  LeftFoot
  LeftLowerLeg
  RightFoot
  RightLowerLeg
  UpperTorso
  Head

Additional: The script is placed in StarterCharacterScripts

Any ideas of why this may be happening?

5 comments

0

left lower arm and right lower arm are the hands

0

Roblox isn't as complicated to the point where you can fidget with the players phalanges

0

Maybe they didn't load in yet.

0

I never noticed that Roblox characters had hands.

0

greatneil80 i really dont think so. If you make a rig, it would make sense to make players be able to move ALL LIMBS, wouldn't it?

1 answer

hands are not baseparts apparently

1 comment

0

Printed an entire list without filtering by BaseParts, Hands still didn´t appear

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