while true do
wait()
script.Parent.CFrame = script.Parent.CFrame * CFrame.fromEulerAnglesXYZ(0,0.01,0)
--[[ Change (0,0.01,0) to whatever number is needed to make it rotate 90 degrees.
Don't change the ones that are 0, those are different axises or whatever. Just change the 0.01 to whatever number ya need]]
end |