Code I have so far:
for i = 0.0001,10*100e+999 do
game.Workspace.Rocket:MoveTo(38, 67.171+i, -168.25)
wait(0.01)
end
Trying to use the loop above would give me an error that goes like:
Unable to cast double Vector3
What am I doing wrong and how do I fix it?

3 comments
Please never abuse a for loop like that again. You should either use TweenService, or check out a video I made on tweening: https://www.youtube.com/watch?v=tZdrtccA11c&t=211s
Alternatively, you could use BodyMovers or the PrimaryPart API.
ok cool ill try it