on death: if victim is sheep: execute console command "give %attacker% string" if victim is chicken: execute console command "give %attacker% arrow" if victim is cow: execute console command "give %attacker% leather" every tick: loop all players: wipe loop-player's sidebar set name of sidebar of loop-player to "&6UHC" set score "&aOnline: %{Players}%" in sidebar of loop-player to 1 set score "&aPvP: %{PvP}%" in sidebar of loop-player to 2 on heal: if heal reason is eating or peaceful regeneration: cancel event