while true do
script.Parent.Rotation = script.Parent.Rotation + Vector3.new(0,15,0)
wait(.1)
end
I have my script, and it works for 2 seconds until it stops and rapidly moved side to side. I've tried doing it as a for loop, but that doesn't work either. Why is it not working?

4 comments
CFrame.Angles uses radians while Rotation uses degrees. 15 radians is more than two full revolutions (859 degrees).
Thanks! I didn't know you could CFrame rotation like that!
Also, why does having a 1 seem to go WAY faster than having a 15 there?
Like BlueTAlesm said, it's in radians. 1 radian is 180 degrees so if you want it to rotate 15 degrees you multiply it by pi and divide it by 180. Or you can use the function located in the math table: rad. * CFrame.Angles(0, math.rad(15), 0)