for i = 0,math.random(45,90) do
print(i)
game:GetService('RunService').RenderStepped:wait()
model:SetPrimaryPartCFrame(model.PrimaryPart.CFrame*CFrame.Angles(math.rad(i),math.pi,math.rad(i)))
end
I'm trying to smoothly rotate this model i have but when I try it randomly rotates
https://gyazo.com/a41b9fd08432945838d082f3439c5288 this is what happens

7 comments
yeah the whole code wont even copy and paste ?????
Link doesn't work. Make sure you're giving it a title if you use the link element in the textbox.
Is the object cancollided?
no the objects in the model cancollide property are set to false
here's the line that was cut off: "model:SetPrimaryPartCFrame(model.PrimaryPart.CFrame*CFrame.Angles(math.rad(i),math.pi,math.rad(i)))"
try for i =0,math.random(45,90),0.1 do
did the same thing just slower