I was trying welding a part to my arm and every time I try to weld the part, I get stuck. script:
script.Parent.Touched:connect(function(hit)
humanoid = hit.Parent:FindFirstChild("Humanoid")
if humanoid then
part = script.Parent
RArm = humanoid.Parent:findFirstChild("Right Arm")
part.CFrame = RArm.CFrame * CFrame.new(0,-1,0)
weld = Instance.new("Weld")
weld.Part0 = RArm
weld.C0 = RArm.CFrame:inverse()
weld.Part1 = part
weld.C1 = part.CFrame:inverse()
weld.Parent = part
part.Anchored = false
end
end)
Nothing in the output. :| Help.
Momma said I could be anything. |