of     1   

Ignitor321
#36835576Thursday, November 11, 2010 11:49 AM GMT

What I want to happen is the arm not to move when the tool is equipped. I don't want it anchored, but I want it like stuck at the normal position, but still able to move. I'm not the best with tools, so I bet I have some issues.
Ignitor321
#36835585Thursday, November 11, 2010 11:50 AM GMT

Here is the script: function WeldArm() wait(1) t = script.Parent.Parent:findFirstChild("Torso") r = t:findFirstChild("Right Shoulder") r.MaxVelocity = 5 r.DesiredAngle = 0 end script.Parent.Equipped:connect(WeldArm)
Ignitor321
#36835591Thursday, November 11, 2010 11:51 AM GMT

It goes to the spot, but doesn't stay.
hershysnickers
#36835686Thursday, November 11, 2010 12:04 PM GMT

Maybe use a while loop?
Ignitor321
#36836037Thursday, November 11, 2010 12:27 PM GMT

So... function WeldArm() while true do wait(1) t = script.Parent.Parent:findFirstChild("Torso") r = t:findFirstChild("Right Shoulder") r.MaxVelocity = 5 r.DesiredAngle = 0 end script.Parent.Equipped:connect(WeldArm) Would this be the while loop? (Like I said, not good with tools.)
Ignitor321
#36837409Thursday, November 11, 2010 1:33 PM GMT

Bump, it didn't work. D:
Ignitor321
#36839028Thursday, November 11, 2010 3:03 PM GMT

Bump..
bloob827
#36839064Thursday, November 11, 2010 3:04 PM GMT

yOU WOULD NEED ANOTHER END FOR THE FUNCTION..
Ignitor321
#36839179Thursday, November 11, 2010 3:10 PM GMT

I know, I forgot to add that, but in the real script I had two and it didn't work.
bloob827
#36839243Thursday, November 11, 2010 3:13 PM GMT

lolwut says the cow pig at dawn function WeldArm() t = script.Parent.Parent:findFirstChild("Torso") r = t:findFirstChild("Right Shoulder") r.MaxVelocity = 5 r.DesiredAngle = 0 end while true do wait() script.Parent.Equipped:connect(WeldArm) wait() end
Ignitor321
#36839460Thursday, November 11, 2010 3:24 PM GMT

Didn't work..I'm stumped on this...
bloob827
#36839586Thursday, November 11, 2010 3:29 PM GMT

i still don't get it why you put in t=script.Parent.Parent:findFirstChild("Torso") r=t:findFirstChild("Right Shoulder")
bloob827
#36839601Thursday, November 11, 2010 3:29 PM GMT

mayb try dis? function WeldArm() t = script.Parent.Parent:findFirstChild("Torso") r = script.Parent.Parent:findFirstChild("Right Shoulder") r.MaxVelocity = 5 r.DesiredAngle = 0 end while true do wait() script.Parent.Equipped:connect(WeldArm) wait() end
Ignitor321
#36839784Thursday, November 11, 2010 3:37 PM GMT

I put in the r = script.Parent.Parent:findFirstChild("Right Shoulder") to find the Right Shoulder and weld it still.
pighead10
#36846143Thursday, November 11, 2010 6:36 PM GMT

I don't understand the question.
Ignitor321
#36846176Thursday, November 11, 2010 6:36 PM GMT

I'm trying to make a script for a tool so the right arm stays where it is instead of going to the position most tools put it in.

    of     1