on death: if victim is ender dragon: send "&d&lSmok &fZostał pokonany przez %player%" to all players execute console command "cc give p end 1 %player%" else if victim is wither: send "&0&lWither &fzostał pokonany przez %player%" to all players execute console command "cc give p nether 1 %player%"