Pets fall out of the map while Pathfinding

I am currently working on a game involving pets and the pathfinding script has a problem.

Currently I am using PathfindingService and for some reason some Pets disappear and their models are deleted. I know that some of the time they fall off of the map.

If the pathfinding cannot find a path then it will teleport to the player as a safeguard.

This only happens to some pets and I do not understand why.

Thank you for your time,
Bimibe

Turns out a different script was destroying the pets and I did not catch it while checking for anything that would destroy the pets.

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