variables: {lvl.%player%} = 0 {wykopanystone.%player%} = 0 options: logo: [&a&lKAPPA&2LVL&6] command /sklep: aliases: pkt, lvl, skleplvl trigger: open chest with 2 rows named "&2&lSKLEP ZA LVL" to player wait 2 ticks format slot 0 of player with 1 of diamond pickaxe named "&c&lHASTE 2" with lore "&eCZAS TRWANIA: &85 MIN||&eCENA: &88 LVL" to close then run [make player execute command "vsklep haste2"] format slot 1 of player with 1 of enchanted golden apple named "&c&lKOXY x10" with lore "&eILOSC: &810||&eCENA: &820 LVL||||&8PAMIETAJ ABY MIEC MIEJSCE W EQ NA 10 KOXOW!!" to close then run [make player execute command "vsklep kox10"] format slot 2 of player with 1 of enchanted golden apple named "&c&lKOXY x20" with lore "&eILOSC: &820||&eCENA: &835 LVL||||&8PAMIETAJ ABY MIEC MIEJSCE W EQ NA 20 KOXOW!!" to close then run [make player execute command "vsklep kox20"] format slot 3 of player with 1 of tnt named "&c&lTNT x64" with lore "&eILOSC: &864||&eCENA: &815 LVL||||&8PAMIETAJ ABY MIEC MIEJSCE W EQ NA 64 TNT!!" to close then run [make player execute command "vsklep kox10"] format slot 9 of player with 1 of 397:3 named "&eStatystyki" with lore "&eLVL: &8%{lvl.%player%}%||&eSTONE: %{wykopanystone.%player%}%" to run "/isklep haste2" command /vsklep []: trigger: if arg-1 is "haste2": if {lvl.%player%} is bigger than 7: remove 8 from {lvl.%player%} apply haste 2 to the player for 300 seconds send "&aPoprawnie wymieniles swoj lvl na przedmiot :)" to player stop else: send "&cBLAD: &4nie posiadasz wystarczajacego lvl :(" to player stop if arg-1 is "kox10": if {plvl.%player%} is bigger than 19: remove 20 from {plvl.%player%} loop 10 times: give player enchanted golden apple send "&aPoprawnie wymieniles swoj lvl na przedmiot :)" to player stop else: send "&cBLAD: &4nie posiadasz wystarczajacego lvl :(" to player stop if arg-1 is "kox20": if {plvl.%player%} is bigger than 34: remove 35 from {plvl.%player%} loop 20 times: give player enchanted golden apple send "&aPoprawnie wymieniles swoj lvl na przedmiot :)" to player stop else: send "&cBLAD: &4nie posiadasz wystarczajacego lvl :(" to player stop on mine of stone: add 1 to {wykopanystone.%player%} if {wykopanystone.%player%} is more than 99: add 1 to {lvl.%player%} set {wykopanystone.%player%} to 0 send "&8ยป &aGratulacje! &aAwansowales na &6%{lvl.%player%}% &apoziom&7." set {maxpkt.%player%} to true command /resetpkt: trigger: set {lvl.%player%} to 0 set {wykopanystone.%player%} to 0 on first join: set {wykopanystone.%player%} to 0 set {lvl.%player%} to 0 set {maxpkt.%player%} to false