Hey guys,
I know the title is confusing but it's really the best way I can explain. So I have a wheel that spins(keeps rotating) via changing it's CFrame angle, It's in a loop and I want to it slowly decrease it's rotation speed everytime the loop is done and it starts again.
Here's the script:
while wait() do
script.Parent.CFrame = script.Parent.CFrame * CFrame.Angles(8.5,0,0)
end
If you didn't understand, I basically want the script be like this:
script.Parent.CFrame = script.Parent.CFrame * CFrame.Angles(8.5,0,0)
wait(0.1)
script.Parent.CFrame = script.Parent.CFrame * CFrame.Angles(8.4,0,0)
wait(0.1)
script.Parent.CFrame = script.Parent.CFrame * CFrame.Angles(8.3,0,0) --and it keeps going like that till it reaches to 0

1 comment
Hm I dont really know Im a beginner myself but I think it involves something with for count