options: mob: skeleton on script load: loop all players: if loop-players is op: send "&e&lSkrypt zaladowany/przeladowany!" to loop-players on death of {@mob}: chance of 10%: set drops to 1 _mob_head_item named "&bMroczna czaszka" with lore "&3otwóż mnie ||&3aa||&3bb" on rightclick: #on leftclick: if tool of player is _mob_head_item named "&bMroczna czaszka" with lore "&3otwóż mnie ||&3aa||&3bb": remove 1 _mob_head_item from player's tool cancel event wait 0.1 seconds chance of 10%: give 1 coal_ore to player send "&7&l[ &2&lDROP &7&l] &7>> &aWydropiles: &0&lWEGIEL" stop chance of 10%: give 1 iron_ore to player send "&7&l[ &2&lDROP &7&l] &7>> &aWydropiles: &8&lZELAZO" stop chance of 10%: give 1 gold_ore to player send "&7&l[ &2&lDROP &7&l] &7>> &aWydropiles: &6&lZLOTO" stop chance of 10%: give 1 diamond to player send "&7&l[ &2&lDROP &7&l] &7>> &aWydropiles: &b&lDIAMENT" send "&a&lGracz &c&l%player% &a&lwydropił diament" to all players stop chance of 70%: give 1 air to player send "nic nie dropło" stop