i made a skript thats suppose to make it so when a zombie dies it gives the player who killed it xp and money and it doesnt work, how do i fix it?
the skript:
on death of zombie:
clear the drops
remove 1 from {zombiecount}
broadcast "%{zombiecount}%"
add 2 to {%killer%.money}
add 1 to {%killer%.xp}