Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How to fix the player keep moving?

Asked by 7 years ago

For using :MoveTo() with humanoids, if you move a player to a part then teleport the player away, the player keeps walking until the player presses 'W' manually. How can I fix it so the player stops walking automatically when teleported away? (For door opening cutscene purposes)

0
You found a rare bug. (get it???) It's a bug that can happen rarely to your character while walking. WHITEHH 0 — 7y
0
what thehybrid576 294 — 7y
0
Would you mind showing me your script first, so I can help? @thehybrid576 JoeRaptor 72 — 7y
0
it...it is just a simple humanoid:MoveTo(part.Position) thehybrid576 294 — 7y

1 answer

Log in to vote
0
Answered by 7 years ago

You can make it MoveTo() its current position, it will over write the current moveto and stop because it is already there.

0
doesn't work, the player just keeps walking straight towards infinity, and i checked the moveto position of the humanoid in-game and it was the position of the HumanoidRootPart in which i set it to walk to thehybrid576 294 — 7y
0
prob a bug, idk sorry QuantumToast 261 — 7y
Ad

Answer this question