How do I rotate the character's right arm 90° without animations?

  1. What do you want to achieve?
    I want to rotate the right arm 90° degrees, without using animations. It’s obviously very basic code, because I want it to work first, before implementing everything.

  2. What is the issue?
    My code doesn’t work and I don’t know what’s the issue.

game:GetService("RunService").Stepped:connect(function()
	local Character = game.Workspace:WaitForChild("ByGermanKnight")
	local Motor = Character.RightUpperArm.RightShoulder
	
	Motor.Transform = Motor.Transform * CFrame.new(math.rad(90),0,0)
end)

Okay, so it looks like the animator is always overwriting any transformations made to the Motor6D.

You aren’t ever applying a rotation.

needs to be something like CFrame.Angles

You’re using CFrame.new instead of CFrame.Angles.

Motor.Transform = Motor.Transform * CFrame.Angles(math.rad(90),0,0)
1 Like

Try using CFrame.Angles(math.rad(90), 0, 0)