I've always wondered how to do this. I know you can do it slowly or with for loops, but I need to know how to do it better, if possible. Any help?
✓ ANSWER ACCEPTED
How do you create an animation in code?
2 answers
✓ Accepted answer
You could make a for loop for an animation. For loops would work because they count up, hence their values. If you wanted to rotate, lets say, a part in the workspace called Lol you would do this (with a for loop to give it anim affect.)
for i = 1, 60 do
Workspace.Lol.CFrame = CFrame.Angles(i*3, 0, 0)
wait(0.06)
end
This website may help you,
This discussion is preserved as it was. New answers, comments, and votes are closed.
