How would I disable player movement control

Hello,

In my game sometimes the player gets controlled via a script (Humanoid’s MoveTo Function).

But I now encountered a problem.
So you need walkspeed for it to move but then the player can also control/move the character

How would I make it so the player can’t control the player but scripts can temporarily.

Thanks in advance.

1 Like

Please search for a similar topic to what you want before making a topic.

3 Likes

Heads up that this can only be accessed from the client. You’ll need to create a RemoteEvent to use this method, and since the client could potentially ignore the request, make sure to teleport them after the movement has been completed.

3 Likes