Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Help Getting CFrame Angles?

		local c = game.Players.LocalPlayer.CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))

I'm trying to get a way to have the player's arm go up on command (kinda like they equipped a sword) and according to Wiki I need to use CFrame.Angles

Now I know that Wiki isn't always extremely reliable, but I thought that I'd give it a try... It didn't work.

Is there something I'm doing wrong, or is Wiki just simply making stuff up? It always says in the Output that 'Angles' isn't a valid member. Someone help?

1 answer

First of all you could use animation editor. This would be very simple. Another thing would be what you trying to do. You need to go offen the motors in the hips and shoulders. To do this you will need the character.

game.Players.LocalPlayer.Character this will bring u to the character.

game.Players.LocalPlayer.Character.Torso['Left Hip'] that is the left hip motor.

lh.C0 = lh.C0 *CFrame.Angles(0,0,0) that would rotate the left hip in what ever direction you put in. so say lh.C0= lh.C0 *CFrame.Angles(1,0,0)

This discussion is preserved as it was. New answers, comments, and votes are closed.