How do I remove the walking system while using PathfindingService?

Is there a way to use the PathfindingService and disabling the player’s movement control while the PathfindingService is walking? I’m trying to make the player walk to a part using the PathfindingService but I don’t want the player to move by the player himself!

I think the PathfindingService needs the WASD control to move…

Is there any way? I would highly appreciate that!

I’m not quite sure what you mean. Pathfinding doesn’t require a player or controls to move anything.

Basically, I want the player walk to a part while using PathfindingService, however the player can just walk away, which I don’t want

I’ve never really used PathfindingService before, so I’m pretty new to it

You can simply disable player controls until the character has reached its target point.

2 Likes

How would you do that though…

1 Like

That’s weird…

I tried to do that several times but it didn’t work. I wanted to make a video to show you but it works now! Pretty weird but thanks, haha!

1 Like

Oh wow, never knew that existed. Thanks!

No problem, with controls:Enable() you can enable the movement again.

1 Like