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

(SOLVED) Why can't the script identify my character's Right Hand? [closed]

Asked by 5 years ago
Edited 5 years ago

Is there a certain reason in the script for why it can't identify my character's Right Hand? in the line #9 weld.Part1 = char:WaitForChild("RightHand"), The Part0 in line #8 works fine; it can identify the weld's parent/handle but for the RightHand, it does not. This is on serverscript too tho.

 players.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function(char)
    local handle = handle:Clone()
    handle.Parent = char
    handle.Position = char:FindFirstChild("RightHand").Position + Vector3.new(0,-1.5,0.5)
    local weld = Instance.new("Weld")
    weld.Parent = handle
    weld.Part0 = handle
    weld.Part1 = char:WaitForChild("RightHand")
    end)
    end)
0
i think it will work if u just remove the :WaitForChild part and just do chat.RightHand since it has already found it Gameplayer365247v2 1055 — 5y

Locked by User#24403

This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.

Why was this question closed?