I need to know how to detect if a player kills a zombie so I can finish my game where zombies attempt to attack a castle and you have to defend it. I want to make so that when you kill 50 zombies you win the game.
if this is possible please tell me how to do it.