I need a scoreboard command that will count the number of zombies in the map at all times. Could someone help out?
Check out my twitter!
Repeating command block:
/execute store result score <player> <objective> run execute if entity @e[type=zombie]
<player> can be a player, entity, or even a "fake player".
Command block engineer // Spigot plugin developer // #TeamTrees
Some of my projects:
Thanks for the help!