Im currently trying to rotate the right arm on the character by 90 degrees on the y axis. I try and rotate it but nothing rotates.
local animation = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(script.Parent:WaitForChild("Click"))
script.Parent.Equipped:Connect(function()
animation:Play()
local motor = game.Players.LocalPlayer.Character.Torso:FindFirstChild("Right Shoulder", true)
motor.Transform = motor.Transform * CFrame.Angles(math.rad(90),0,0)
end)
script.Parent.Unequipped:Connect(function()
animation:Stop()
local motor = game.Players.LocalPlayer.Character.Torso:FindFirstChild("Right Shoulder", true)
motor.Transform = motor.Transform * CFrame.Angles(math.rad(0),0,0)
end)
If anyone knows whats going on please reply!