Thanks for playing my game!
First, the lag is probably due to failing optimization. I used a lot of tick functions which mainly takes up resources.
Second, the zombies will leave the residence when they lack the least of aggressiveness. This was mainly to give the player another thing to focus on, and to stop players from spamming lower aggressivness.