variables: {kox::%player%} = 0 {kille::%player%} = 0 {500000stone::%player%} = 0 command /osiagniecia []: trigger: if arg 1 is not set: new Inventory "&a&lOsiagniecia"; "&a&lOsiagniecia".Inventory.setRow{1}; if {kox::%player%} is bigger than 4: "&a&lOsiagniecia".Inventory.setItem{1, 5 enchanted golden apple named "&e&lZJEDZ 5 KOXOW" with lore "&aWykonales juz te zadanie!"}; else: "&a&lOsiagniecia".Inventory.setItem{1, 5 enchanted golden apple named "&e&lZJEDZ 5 KOXOW" with lore "&cOtrzymasz:||&e1 Kox"}; if {10players::%player%} is bigger than 9: "&a&lOsiagniecia".Inventory.setItem{1, 10 skull named "&e&lZABIJ 10 GRACZY" with lore "&aWykonales juz te zadanie!"}; else: "&a&lOsiagniecia".Inventory.setItem{1, 10 skull named "&e&lZABIJ 10 GRACZY" with lore "&cOtrzymasz:||&e10 Kox"}; if {30players::%player%} is bigger than 29: "&a&lOsiagniecia".Inventory.setItem{1, 30 skull named "&e&lZABIJ 30 GRACZY" with lore "&aWykonales juz te zadanie!"}; else: "&a&lOsiagniecia".Inventory.setItem{1, 30 skull named "&e&lZABIJ 30 GRACZY" with lore "&cOtrzymasz:||&eKilof 6/3/3"}; if {kox::%player%} is bigger than 199: "&a&lOsiagniecia".Inventory.setItem{1, 10 skull named "&e&lZJEDZ 200 KOXOW" with lore "&aWykonales juz te zadanie!"}; else: "&a&lOsiagniecia".Inventory.setItem{1, 10skull named "&e&lZJEDZ 200 KOXOW" with lore "&cOtrzymasz:||&e20 Perel"}; if {500000stone::%player%} is bigger than 499999: "&a&lOsiagniecia".Inventory.setItem{1, 64 stone named "&e&lWYKOP 500000 STONE" with lore "&aWykonales juz te zadanie!"}; else: "&a&lOsiagniecia".Inventory.setItem{1, 64 stone named "&e&lWYKOP 500000 STONE" with lore "&cOtrzymasz:||&e20 Kluczy"}; "&a&lOsiagniecia".Inventory.display{player}; stop on mine stone: add 1 to {500000stone::%player%} if {500000stone::%player%} is bigger than 499999: give 20 tripwire hook of unbreaking 10 named "&cMagiczny Klucz" to player send "&cWykonales Zadanie: Wykop 500000 Stone!" on consume enchanted golden apple: add 1 to {kox::%player%} if {kox::%player%} is bigger than 4: give 1 enchanted golden apple to player send "&cWykonales Zadanie: Zjedz 5 Koxow!" stop if {kox::%player%} is bigger than 199: give 20 ender pearl to player send "&cWykonales Zadanie: Zjedz 200 Koxow!" stop on death of player: add 1 to {kille::%player%} if {kille::%player%} is bigger than 9: give 10 enchanted golden apple to player send "&cWykonales Zadanie: Zaqbij 10 Graczy" stop if {kille::%player%} is bigger than 29: give 1 diamond pickaxe of efficiency 6 and fortune 3 and unbreaking 3 named "&6Kilof 6/3/3" to player send "&cWykonales Zadanie: Zabij 30 Graczy" stop