Hello, I have a script here that makes the soldier MoveTo pos1. I want to know when he reaches pos1, so then he can move to pos2. Here is my script:



pos1 = game.Workspace.pos1.Position

pos2 = game.Workspace.pos2.Position

soldier = game.Workspace.Soldier.Humanoid


soldier:MoveTo(pos1)

--I want it to know when soldier moves to position 1, and once it is there it will move to the next position


soldier:MoveTo(pos2)

Thanks!

1 comment

0

Use soldier.MoveToFinished:Wait()--will give humanoid time to move to part for 8 seconds.