on death: if attacker is player or entity or lightning: if victim is player: clear inventory of player on pick up: if {%player%.pickup} is not set: cancel event every 1 minute: broadcast "&cUsuwanie przedmiotów lezaczych na ziemi rozpoczete" execute console command "/remove item 999999"