Option for NPCs to walk to crate and defendSuggestion

Is it possible to add a option that if the npc's hit the ground they walk to the crate and patrole arround it ?

now they are to spread to my goal

the Npc's are reloading there weapons very fast

Sometimes the npc's doesnt fire looks dumb

Also getting server Fps drops when event starts

and maby a option to add that npc's walk to the crate and defend it ?

there is an plugin Guarded Crate that works perfect maby you can find some idea's from that plug ?