The above question is a bit confusing but I was wondering how would i go about using math.rad(90) in a for loop for an animation I started the script I tried to get it to work but instead of it going smoothly into the animation it skips straight to 90 degrees
RA = game.Workspace.Damo999["Right Arm"]
RS = game.Workspace.Damo999.Torso["Right Shoulder"]
mouse = game.Players.Damo999:GetMouse()
mouse.KeyDown:connect(function(key)
if key == "r" then
for i = 1,1 do
RS.C0 = RS.C0*CFrame.Angles(0,0,math.rad(90))
wait()
end
elseif key == "t" then
RS.C0 = RS.C0*CFrame.Angles(math.rad(45),0,0)
end
end)
it just won't transition smoothly but skips to 90 degrees i'm not sure how to fix his someone told me to use tick() but i don't fully understand so please help thank you.

1 comment
Ah okay I understand now thank you.