splatcan
|
  |
| Joined: 25 Sep 2014 |
| Total Posts: 131 |
|
|
| 21 Jun 2016 11:18 PM |
| So I was bored and decided to mess around with pathfinding service, but experienced a problem: I had no way of making sure that the person was in the position that they were supposed to be before going onto the next position in the loop. Essentially, I need a way of waiting for the person's torso to be in the position it is supposed to be in before going onto the next position.. Sorry if I sound a bit repetitive.. |
|
|
| Report Abuse |
|
iiEssence
|
  |
| Joined: 18 Jun 2014 |
| Total Posts: 3467 |
|
|
| 21 Jun 2016 11:21 PM |
| repeat wait(.5) until (player.Torso.Position - target.Position).magnitude < 5 |
|
|
| Report Abuse |
|
splatcan
|
  |
| Joined: 25 Sep 2014 |
| Total Posts: 131 |
|
| |