How to make an NPC pathfind backwards

Hello!

I am trying to find a way to make an entity pathfind away from a player… I have some experience on pathfinding but I have absolutely no clue how I cold make it pathfind in a way so it actually moves away from the player (for example a player hits the entity and the entity tries to pathfind it’s way as far from the player as possible)…

Thanks in advance!

so you got a free model pathfind script?

just find the things like :Move() and other things with Vector3 and put a “-” before it Example:

Part:Move(-Vector3.new(0,50,0))

I don’t got a free model, I made one, which either way is pretty basic, how does :Move() work already? I don’t remember