What i wanna do is the following:
"
part = thePartIWannaAnimate
initialX = int
initialY = int
initialZ = int
finalX = int
finalY = int
finalZ = int
nbFrames = int
i, j, k = initialX, initialY, initialZ
repeat
part.CFrame.Rotation = Rotation.new(i, j, k) --I know this command doesn't exist, it's just to show you what i am looking for
i = initialX + (finalX - initialX)/nbFrames
j = initialY + (finalY - initialY)/nbFrames
k = initialZ + (finalZ - initialZ)/nbFrames
wait()
until (i > finalX)
"
This would basically just smoothly animate a part by rotating it from a predefined rotation to another one