Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Hands not being identified with :GetChildren()?

Asked by 6 years ago

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?

0
left lower arm and right lower arm are the hands greatneil80 2647 — 6y
0
Roblox isn't as complicated to the point where you can fidget with the players phalanges greatneil80 2647 — 6y
0
Maybe they didn't load in yet. User#19524 175 — 6y
0
I never noticed that Roblox characters had hands. User#25115 0 — 6y
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? SuperBeeperman 30 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

hands are not baseparts apparently

0
Printed an entire list without filtering by BaseParts, Hands still didn´t appear SuperBeeperman 30 — 6y
Ad

Answer this question