Make Pathfinding Service avoid going on certain parts?

Hi, I was wondering if there is a way to make PathFinding service avoid going on certain parts I tried looking on the developer hub but I didn’t see anything to do so.

Like, if there is a part named “KillPart” how would I make PathFinding avoid going on it?
I hope this makes since

Pathfinding service is unreliable. I woukd recommend manually using humanoid:MoveTo() and time everything. Maybe use a module script for multiple huamnoids.

How would I make it avoid objects would raycasting work for this or would that be inefficient?

Roblox’s built-in pathfinding is actually very solid for most use cases nowadays. To answer your original question, what you are looking for is the pathfinding modifiers feature. You can read up about them here: New Pathfinding Modifiers - Studio Beta

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.