Way to Spawn in NextBot Zombies with ents.Create (Gmod)

Whenever I use

then it gives me nav mesh error, even after when I do nav_generate and I am able to spawn in by spawn menu. I have no idea how to make a spawner. Please Help
Here the entire Code


Has been solved? I need this too

No response implies it hasn’t been solved.