I've made a script where a part or model will move to an exact spot, then move to another one at a constant speed. This works fine in studio, but in-game the model changes path prematurely or too late.
Move = script.Parent
Movevelocity = Move.BodyVelocity
while true do
wait(1)
Movevelocity.velocity = Vector3.new(0,0,14)
wait(4.3)
Movevelocity.velocity = Vector3.new(-14,0,0)
wait(12.1)
Movevelocity.velocity = Vector3.new(0,0,14)
wait(9.15)
Movevelocity.velocity = Vector3.new(-14,0,0)
wait(10)
end
I'm using a BodyVelocity with the script. Lag or memory usage doesn't seem to be the problem. Can anyone help me figure out what's going wrong?
Thanks.

2 comments
Well you could just change the whole part with Move.Position = Vector3.new(urpos)
The problem with this is that I want the model moving at a constant speed. Such as a car going through a city. BodyPosition will just teleport the model instead.