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

How do i rotate a players arm without it breaking off?

Asked by 9 years ago

I have tried a couple of things but every time i do it it just breaks the arm and it falls off the map.

1 answer

Log in to vote
0
Answered by 9 years ago

Each limb has joints that connect to it from the Torso. The Torso contains all these joints, and they are called Left Shoulder, Right Shoulder, Left Hip, Right Hip, and Neck. If you want to rotate a limb, you have to edit its C0 and/or C1 properties. You can do that like this:

local Left_Shoulder = Torso:WaitForChild("Left Shoulder")
Left_Shoulder.C0 = CFrame.new(-1.5,1,0)
Left_Shoulder.C1 = CFrame.Angles(math.rad(45),0,0)

Note: Those CFrame values don't always have to be like that, you can change them however you like

Hope this helped!

0
Could you edit this to make it R15-friendly? BTW I love your gun kits. Zenith_Lord 93 — 5y
Ad

Answer this question