You probably didn’t run the pathfinding script through a pcall.
Sometimes when using pathfinding, no path can be found. If you don’t run this through a pcall, the whole script breaks, thus ending up in your zombie “breaking”.
You didn’t give any code either, so if that isn’t the problem, then I would highly recommend you post the code here.