Hi I need a way to make it when you kill a zombie or any mob it will run a command. Does anyone know of a way to do this? I need it were it will give a key. So for a example if you kill a zombie it will do this. on death of zombie: if chance of 100%: make console execute command "cr givekey %player% legendary 1" But it dosnt give a key at all. Am I doing something wrong? or is it not possible? Thanks!