Not getting any script errors so I am confused as to why it's not working if I am trying to move the model on it's own accord with a loop. Am I missing something important here?
01 | Ship = script.Parent |
02 | Value = Ship.Position |
03 | FlightCourse = game.Workspace.ShipPostition |
04 | x, y, z = Value.x, Value.y, Value.z |
05 |
06 | while wait () do |
07 | x, y, z = x + 0.01 , y + 0.01 , z + 0 |
08 | for i = 1 , 0.1 do |
09 | wait( 0.1 ) |
10 | Ship:MoveTo(FlightCourse.PointA.Position + Vector 3. new (x, y, z)) |
11 | wait( 0.1 ) |
12 | end |
13 | end |
I got it done, never mind. Figured it out, well in a different way. More rudimentary method, but none-the-less functional and smooth. I don't need an answer now, merci anyway.