A cool and smart zombie AI. Note this is not really meant to be added in an actual game, it is just the best implementation of Roblox’s pathfinding I could figure out.
There is no damage for the zombies because this is for testing only.
Any FPS drops you are seeing are due to the physics lag of humanoids being close together. Script activity is low between 2%-7% on 200 zombies, much lower than expected, I have optimized it as much as I could without making it dumber.
There is no visible lag/stuttering in the zombie movements.
Roblox’s pathfinding isn’t so bad after all if the implementation is correct. Have a look at this:
It looks pretty good, but at 0:38 the zombies found a way more longer path than expected, maybe you should rework some parameters of your code, but looks really good so far
I’ve made a pretty good non humanoid, using pathfinding service and create a multipath segment generator, that’s about 150 zombies, its gets laggy cause of animations…