variables: {punkty::%player%} = 0 {Kilof.%player%.drop} = false {drop1.%player%.drop} = true {drop2.%player%.drop} = true {drop3.%player%.drop} = true {drop4.%player%.drop} = true {drop5.%player%.drop} = true {drop6.%player%.drop} = true {drop7.%player%.drop} = true {drop8.%player%.drop} = true {drop9.%player%.drop} = true {drop10.%player%.drop} = true {drop::%player%} = 0 {drop1::%player%} = 0 {drop2::%player%} = 0 {drop3::%player%} = 0 {drop4::%player%} = 0 {drop5::%player%} = 0 {drop6::%player%} = 0 {drop7::%player%} = 0 {drop8::%player%} = 0 {drop9::%player%} = 0 {drop10::%player%} = 0 {Efficiency.%player%.drop} = false {EfficiencyI.%player%.drop} = false {EfficiencyII.%player%.drop} = false {EfficiencyIII.%player%.drop} = false {EfficiencyIV.%player%.drop} = false {EfficiencyV.%player%.drop} = false {Fortune.%player%.drop} = false {FortuneI.%player%.drop} = false {FortuneII.%player%.drop} = false {Unbreaking.%player%.drop} = false {UnbreakingI.%player%.drop} = false {UnbreakingII.%player%.drop} = false {UnbreakingIII.%player%.drop} = false {UnbreakingIV.%player%.drop} = false options: koszteff1: 200 koszteff2: 400 koszteff3: 600 koszteff4: 800 koszteff5: 1200 koszteff6: 2000 kosztunb1: 250 kosztunb2: 500 kosztunb3: 1000 kosztunb4: 1500 kosztfor1: 500 kosztfor2: 1000 kosztfor3: 2000 nazwakilof: &7&lKilof &6&lStatTrack xp: 5 nazwa1: &b&lDiamentowy Blok drop1: diamond block drop1_szansa: 35% iloscmin1: 1 iloscmax1: 4 fortune1iloscmin1: 2 fortune1iloscmax1: 4 fortune2iloscmin1: 3 fortune2iloscmax1: 4 fortune3iloscmin1: 3 fortune3iloscmax1: 5 xp1: 10 nazwa2: &6&lZloty Blok drop2: gold block drop2_szansa: 25% iloscmin2: 1 iloscmax2: 3 fortune1iloscmin2: 2 fortune1iloscmax2: 3 fortune2iloscmin2: 2 fortune2iloscmax2: 4 fortune3iloscmin2: 3 fortune3iloscmax2: 4 xp2: 10 nazwa3: &7&lZelazny Blok drop3: iron block drop3_szansa: 15% iloscmin3: 1 iloscmax3: 2 fortune1iloscmin3: 1 fortune1iloscmax3: 3 fortune2iloscmin3: 2 fortune2iloscmax3: 3 fortune3iloscmin3: 2 fortune3iloscmax3: 4 xp3: 10 nazwa4: &4&lRedStone drop4: redstone drop4_szansa: 15% iloscmin4: 2 iloscmax4: 5 fortune1iloscmin4: 3 fortune1iloscmax4: 6 fortune2iloscmin4: 4 fortune2iloscmax4: 7 fortune3iloscmin4: 6 fortune3iloscmax4: 9 xp4: 5 nazwa5: &2&lSzmaragd drop5: emerald drop5_szansa: 5% iloscmin5: 1 iloscmax5: 1 fortune1iloscmin5: 1 fortune1iloscmax5: 2 fortune2iloscmin5: 1 fortune2iloscmax5: 3 fortune3iloscmin5: 2 fortune3iloscmax5: 3 xp5: 10 nazwa6: &5&lObsidian drop6: obsidian drop6_szansa: 30% iloscmin6: 1 iloscmax6: 3 fortune1iloscmin6: 2 fortune1iloscmax6: 3 fortune2iloscmin6: 2 fortune2iloscmax6: 4 fortune3iloscmin6: 3 fortune3iloscmax6: 4 xp6: 5 nazwa7: &c&lJablko drop7: apple drop7_szansa: 5% iloscmin7: 1 iloscmax7: 1 fortune1iloscmin7: 1 fortune1iloscmax7: 2 fortune2iloscmin7: 1 fortune2iloscmax7: 3 fortune3iloscmin7: 2 fortune3iloscmax7: 3 xp7: 5 nazwa8: &a&lBiblioteczke drop8: bookshelf drop8_szansa: 2.5% iloscmin8: 1 iloscmax8: 1 fortune1iloscmin8: 1 fortune1iloscmax8: 2 fortune2iloscmin8: 1 fortune2iloscmax8: 3 fortune3iloscmin8: 2 fortune3iloscmax8: 3 xp8: 15 nazwa9: &5&lPerla drop9: ender pearl drop9_szansa: 2.5% iloscmin9: 1 iloscmax9: 1 fortune1iloscmin9: 1 fortune1iloscmax9: 2 fortune2iloscmin9: 1 fortune2iloscmax9: 3 fortune3iloscmin9: 2 fortune3iloscmax9: 3 xp9: 20 nazwa10: &9&lWegiel drop10: coal drop10_szansa: 15% iloscmin10: 2 iloscmax10: 3 fortune1iloscmin10: 3 fortune1iloscmax10: 4 fortune2iloscmin10: 4 fortune2iloscmax10: 6 fortune3iloscmin10: 7 fortune3iloscmax10: 9 xp10: 10 on break of stone or cobblestone: give {@xp} xp to the player add 1 to {drop::%player%} add 1 to {punkty::%player%} chance of {@drop1_szansa}: give {@xp1} xp to the player if player's tool is pickaxe of fortune 0: if {drop1.%player%.drop} is true: give a random number between {@iloscmin1} and {@iloscmax1} of {@drop1} to the player add 1 to {drop1::%player%} stop if {drop1.%player%.drop} is false: stop if player's tool is pickaxe of fortune 1: if {drop1.%player%.drop} is true: give a random number between {@fortune1iloscmin1} and {@fortune1iloscmax1} of {@drop1} to the player add 1 to {drop1::%player%} stop if {drop1.%player%.drop} is false: stop if player's tool is pickaxe of fortune 2: if {drop1.%player%.drop} is true: give a random number between {@fortune2iloscmin1} and {@fortune2iloscmax1} of {@drop1} to the player add 1 to {drop1::%player%} stop if {drop1.%player%.drop} is false: stop if player's tool is pickaxe of fortune 3: if {drop1.%player%.drop} is true: give a random number between {@fortune3iloscmin1} and {@fortune3iloscmax1} of {@drop1} to the player add 1 to {drop1::%player%} stop if {drop1.%player%.drop} is false: stop chance of {@drop2_szansa}: give {@xp2} xp to the player if player's tool is pickaxe of fortune 0: if {drop2.%player%.drop} is true: give a random number between {@iloscmin2} and {@iloscmax2} of {@drop2} to the player add 1 to {drop2::%player%} stop if {drop2.%player%.drop} is false: stop if player's tool is pickaxe of fortune 1: if {drop2.%player%.drop} is true: give a random number between {@fortune1iloscmin2} and {@fortune1iloscmax2} of {@drop2} to the player add 1 to {drop2::%player%} stop if {drop2.%player%.drop} is false: stop if player's tool is pickaxe of fortune 2: if {drop2.%player%.drop} is true: give a random number between {@fortune2iloscmin2} and {@fortune2iloscmax2} of {@drop2} to the player add 1 to {drop2::%player%} stop if {drop2.%player%.drop} is false: stop if player's tool is pickaxe of fortune 3: if {drop2.%player%.drop} is true: give a random number between {@fortune3iloscmin2} and {@fortune3iloscmax2} of {@drop2} to the player add 1 to {drop2::%player%} stop if {drop2.%player%.drop} is false: stop chance of {@drop3_szansa}: give {@xp3} xp to the player if player's tool is pickaxe of fortune 0: if {drop3.%player%.drop} is true: give a random number between {@iloscmin3} and {@iloscmax3} of {@drop3} to the player add 1 to {drop3::%player%} stop if {drop3.%player%.drop} is false: stop if player's tool is pickaxe of fortune 1: if {drop3.%player%.drop} is true: give a random number between {@fortune1iloscmin3} and {@fortune1iloscmax3} of {@drop3} to the player add 1 to {drop3::%player%} stop if {drop3.%player%.drop} is false: stop if player's tool is pickaxe of fortune 2: if {drop3.%player%.drop} is true: give a random number between {@fortune2iloscmin3} and {@fortune2iloscmax3} of {@drop3} to the player add 1 to {drop3::%player%} stop if {drop3.%player%.drop} is false: stop if player's tool is pickaxe of fortune 3: if {drop3.%player%.drop} is true: give a random number between {@fortune3iloscmin3} and {@fortune3iloscmax3} of {@drop3} to the player add 1 to {drop3::%player%} stop if {drop3.%player%.drop} is false: stop chance of {@drop4_szansa}: give {@xp4} xp to the player if player's tool is pickaxe of fortune 0: if {drop4.%player%.drop} is true: give a random number between {@iloscmin4} and {@iloscmax4} of {@drop4} to the player add 1 to {drop4::%player%} stop if {drop4.%player%.drop} is false: stop if player's tool is pickaxe of fortune 1: if {drop4.%player%.drop} is true: give a random number between {@fortune1iloscmin4} and {@fortune1iloscmax4} of {@drop4} to the player add 1 to {drop4::%player%} stop if {drop4.%player%.drop} is false: stop if player's tool is pickaxe of fortune 2: if {drop4.%player%.drop} is true: give a random number between {@fortune2iloscmin4} and {@fortune2iloscmax4} of {@drop4} to the player add 1 to {drop4::%player%} stop if {drop4.%player%.drop} is false: stop if player's tool is pickaxe of fortune 3: if {drop4.%player%.drop} is true: give a random number between {@fortune3iloscmin4} and {@fortune3iloscmax4} of {@drop4} to the player add 1 to {drop4::%player%} stop if {drop4.%player%.drop} is false: stop chance of {@drop5_szansa}: give {@xp5} xp to the player if player's tool is pickaxe of fortune 0: if {drop5.%player%.drop} is true: give a random number between {@iloscmin5} and {@iloscmax5} of {@drop5} to the player add 1 to {drop5::%player%} stop if {drop5.%player%.drop} is false: stop if player's tool is pickaxe of fortune 1: if {drop5.%player%.drop} is true: give a random number between {@fortune1iloscmin5} and {@fortune1iloscmax5} of {@drop5} to the player add 1 to {drop5::%player%} stop if {drop5.%player%.drop} is false: stop if player's tool is pickaxe of fortune 2: if {drop5.%player%.drop} is true: give a random number between {@fortune2iloscmin5} and {@fortune2iloscmax5} of {@drop5} to the player add 1 to {drop5::%player%} stop if {drop5.%player%.drop} is false: stop if player's tool is pickaxe of fortune 3: if {drop5.%player%.drop} is true: give a random number between {@fortune3iloscmin5} and {@fortune3iloscmax5} of {@drop5} to the player add 1 to {drop5::%player%} stop if {drop5.%player%.drop} is false: stop chance of {@drop6_szansa}: give {@xp6} xp to the player if player's tool is pickaxe of fortune 0: if {drop6.%player%.drop} is true: give a random number between {@iloscmin6} and {@iloscmax6} of {@drop6} to the player add 1 to {drop6::%player%} stop if {drop6.%player%.drop} is false: stop if player's tool is pickaxe of fortune 1: if {drop6.%player%.drop} is true: give a random number between {@fortune1iloscmin6} and {@fortune1iloscmax6} of {@drop6} to the player add 1 to {drop6::%player%} stop if {drop6.%player%.drop} is false: stop if player's tool is pickaxe of fortune 2: if {drop6.%player%.drop} is true: give a random number between {@fortune2iloscmin6} and {@fortune2iloscmax6} of {@drop6} to the player add 1 to {drop6::%player%} stop if {drop6.%player%.drop} is false: stop if player's tool is pickaxe of fortune 3: if {drop6.%player%.drop} is true: give a random number between {@fortune3iloscmin6} and {@fortune3iloscmax6} of {@drop6} to the player add 1 to {drop6::%player%} stop if {drop6.%player%.drop} is false: stop chance of {@drop7_szansa}: give {@xp7} xp to the player if player's tool is pickaxe of fortune 0: if {drop7.%player%.drop} is true: give a random number between {@iloscmin7} and {@iloscmax7} of {@drop7} to the player add 1 to {drop7::%player%} stop if {drop7.%player%.drop} is false: stop if player's tool is pickaxe of fortune 1: if {drop7.%player%.drop} is true: give a random number between {@fortune1iloscmin7} and {@fortune1iloscmax7} of {@drop7} to the player add 1 to {drop7::%player%} stop if {drop7.%player%.drop} is false: stop if player's tool is pickaxe of fortune 2: if {drop7.%player%.drop} is true: give a random number between {@fortune2iloscmin7} and {@fortune2iloscmax7} of {@drop7} to the player add 1 to {drop7::%player%} stop if {drop7.%player%.drop} is false: stop if player's tool is pickaxe of fortune 3: if {drop7.%player%.drop} is true: give a random number between {@fortune3iloscmin7} and {@fortune3iloscmax7} of {@drop7} to the player add 1 to {drop7::%player%} stop if {drop7.%player%.drop} is false: stop chance of {@drop8_szansa}: give {@xp8} xp to the player if player's tool is pickaxe of fortune 0: if {drop8.%player%.drop} is true: give a random number between {@iloscmin8} and {@iloscmax8} of {@drop8} to the player add 1 to {drop8::%player%} stop if {drop8.%player%.drop} is false: stop if player's tool is pickaxe of fortune 1: if {drop8.%player%.drop} is true: give a random number between {@fortune1iloscmin8} and {@fortune1iloscmax8} of {@drop8} to the player add 1 to {drop8::%player%} stop if {drop8.%player%.drop} is false: stop if player's tool is pickaxe of fortune 2: if {drop8.%player%.drop} is true: give a random number between {@fortune2iloscmin8} and {@fortune2iloscmax8} of {@drop8} to the player add 1 to {drop8::%player%} stop if {drop8.%player%.drop} is false: stop if player's tool is pickaxe of fortune 3: if {drop8.%player%.drop} is true: give a random number between {@fortune3iloscmin8} and {@fortune3iloscmax8} of {@drop8} to the player add 1 to {drop8::%player%} stop if {drop8.%player%.drop} is false: stop chance of {@drop9_szansa}: give {@xp9} xp to the player if player's tool is pickaxe of fortune 0: if {drop9.%player%.drop} is true: give a random number between {@iloscmin9} and {@iloscmax9} of {@drop9} to the player add 1 to {drop9::%player%} stop if {drop9.%player%.drop} is false: stop if player's tool is pickaxe of fortune 1: if {drop9.%player%.drop} is true: give a random number between {@fortune1iloscmin9} and {@fortune1iloscmax9} of {@drop9} to the player add 1 to {drop9::%player%} stop if {drop9.%player%.drop} is false: stop if player's tool is pickaxe of fortune 2: if {drop9.%player%.drop} is true: give a random number between {@fortune2iloscmin9} and {@fortune2iloscmax9} of {@drop9} to the player add 1 to {drop9::%player%} stop if {drop9.%player%.drop} is false: stop if player's tool is pickaxe of fortune 3: if {drop9.%player%.drop} is true: give a random number between {@fortune3iloscmin9} and {@fortune3iloscmax9} of {@drop9} to the player add 1 to {drop9::%player%} stop if {drop9.%player%.drop} is false: stop chance of {@drop10_szansa}: give {@xp10} xp to the player if player's tool is pickaxe of fortune 0: if {drop10.%player%.drop} is true: give a random number between {@iloscmin10} and {@iloscmax10} of {@drop10} to the player add 1 to {drop10::%player%} stop if {drop10.%player%.drop} is false: stop if player's tool is pickaxe of fortune 1: if {drop10.%player%.drop} is true: give a random number between {@fortune1iloscmin10} and {@fortune1iloscmax10} of {@drop10} to the player add 1 to {drop10::%player%} stop if {drop10.%player%.drop} is false: stop if player's tool is pickaxe of fortune 2: if {drop10.%player%.drop} is true: give a random number between {@fortune2iloscmin10} and {@fortune2iloscmax10} of {@drop10} to the player add 1 to {drop10::%player%} stop if {drop10.%player%.drop} is false: stop if player's tool is pickaxe of fortune 3: if {drop10.%player%.drop} is true: give a random number between {@fortune3iloscmin10} and {@fortune3iloscmax10} of {@drop10} to the player add 1 to {drop10::%player%} stop if {drop10.%player%.drop} is false: stop on rightclick: if player's tool is pickaxe named "{@nazwakilof}": send "&7Statystyki wykopanych zloz&6:" send "&7*&7&lKamien &6- &7%{drop::%player%}%" send "&7*{@nazwa1} &6- &7%{drop1::%player%}%" send "&7*{@nazwa2} &6- &7%{drop2::%player%}%" send "&7*{@nazwa3} &6- &7%{drop3::%player%}%" send "&7*{@nazwa4} &6- &7%{drop4::%player%}%" send "&7*{@nazwa5} &6- &7%{drop5::%player%}%" send "&7*{@nazwa6} &6- &7%{drop6::%player%}%" send "&7*{@nazwa7} &6- &7%{drop7::%player%}%" send "&7*{@nazwa8} &6- &7%{drop8::%player%}%" send "&7*{@nazwa9} &6- &7%{drop9::%player%}%" send "&7*{@nazwa10} &6- &7%{drop10::%player%}%" command /punkty: trigger: set {punkty::%player%} to 500 command /punkty2: trigger: set {punkty::%player%} to 1500 command /punkty3: trigger: set {punkty::%player%} to 15000 command /debest []: trigger: if arg 1 is "drop": open chest with 5 rows named "&7&lInformacje o Dropie" to player wait 2 tick format slot 0 of player with 1 of bars named "&0" to close format slot 1 of player with 1 of bars named "&0" to close format slot 2 of player with 1 of bars named "&0" to close format slot 3 of player with 1 of bars named "&0" to close format slot 4 of player with 1 of bars named "&0" to close format slot 5 of player with 1 of bars named "&0" to close format slot 6 of player with 1 of bars named "&0" to close format slot 7 of player with 1 of bars named "&0" to close format slot 8 of player with 1 of bars named "&0" to close format slot 9 of player with 1 of bars named "&0" to close format slot 17 of player with 1 of bars named "&0" to close format slot 18 of player with 1 of bars named "&0" to close format slot 27 of player with 1 of bars named "&0" to close format slot 36 of player with 1 of bars named "&0" to close format slot 26 of player with 1 of bars named "&0" to close format slot 35 of player with 1 of bars named "&0" to close format slot 44 of player with 1 of bars named "&0" to close format slot 36 of player with 1 of bars named "&0" to close format slot 37 of player with 1 of bars named "&0" to close format slot 38 of player with 1 of bars named "&0" to close format slot 39 of player with 1 of bars named "&0" to close format slot 40 of player with 1 of bars named "&0" to close format slot 41 of player with 1 of bars named "&0" to close format slot 42 of player with 1 of bars named "&0" to close format slot 43 of player with 1 of bars named "&0" to close format slot 10 of player with 1 of {@drop1} named "{@nazwa1}" with lore "&7Szansa&6:&c {@drop1_szansa}%||||&7Ilosc dropu&6:||&7Normalny&6: &c{@iloscmin1}-{@iloscmax1}||&7Fortune &cI&6: &c{@fortune1iloscmin1}-{@fortune1iloscmax1}||&7Fortune &cII&6: &c{@fortune2iloscmin1}-{@fortune2iloscmax1}||&7Fortune &cIII&6: &c{@fortune3iloscmin1}-{@fortune3iloscmax1}" to run [make player execute command "/debest komenda1"] format slot 11 of player with 1 of {@drop2} named "{@nazwa2}" with lore "&7Szansa&6:&c {@drop2_szansa}%||||&7Ilosc dropu&6:||&7Normalny&6: &c{@iloscmin2}-{@iloscmax2}||&7Fortune &cI&6: &c{@fortune1iloscmin2}-{@fortune1iloscmax2}||&7Fortune &cII&6: &c{@fortune2iloscmin2}-{@fortune2iloscmax2}||&7Fortune &cIII&6: &c{@fortune3iloscmin2}-{@fortune3iloscmax2}" to run [make player execute command "/debest komenda2"] format slot 12 of player with 1 of {@drop3} named "{@nazwa3}" with lore "&7Szansa&6:&c {@drop3_szansa}%||||&7Ilosc dropu&6:||&7Normalny&6: &c{@iloscmin3}-{@iloscmax3}||&7Fortune &cI&6: &c{@fortune1iloscmin3}-{@fortune1iloscmax3}||&7Fortune &cII&6: &c{@fortune2iloscmin3}-{@fortune2iloscmax3}||&7Fortune &cIII&6: &c{@fortune3iloscmin3}-{@fortune3iloscmax3}" to run [make player execute command "/debest komenda3"] format slot 13 of player with 1 of {@drop4} named "{@nazwa4}" with lore "&7Szansa&6:&c {@drop4_szansa}%||||&7Ilosc dropu&6:||&7Normalny&6: &c{@iloscmin4}-{@iloscmax4}||&7Fortune &cI&6: &c{@fortune1iloscmin4}-{@fortune1iloscmax4}||&7Fortune &cII&6: &c{@fortune2iloscmin4}-{@fortune2iloscmax4}||&7Fortune &cIII&6: &c{@fortune3iloscmin4}-{@fortune3iloscmax4}" to run [make player execute command "/debest komenda4"] format slot 14 of player with 1 of {@drop5} named "{@nazwa5}" with lore "&7Szansa&6:&c {@drop5_szansa}%||||&7Ilosc dropu&6:||&7Normalny&6: &c{@iloscmin5}-{@iloscmax5}||&7Fortune &cI&6: &c{@fortune1iloscmin5}-{@fortune1iloscmax5}||&7Fortune &cII&6: &c{@fortune2iloscmin5}-{@fortune2iloscmax5}||&7Fortune &cIII&6: &c{@fortune3iloscmin5}-{@fortune3iloscmax5}" to run [make player execute command "/debest komenda5"] format slot 15 of player with 1 of {@drop6} named "{@nazwa6}" with lore "&7Szansa&6:&c {@drop6_szansa}%||||&7Ilosc dropu&6:||&7Normalny&6: &c{@iloscmin6}-{@iloscmax6}||&7Fortune &cI&6: &c{@fortune1iloscmin6}-{@fortune1iloscmax6}||&7Fortune &cII&6: &c{@fortune2iloscmin6}-{@fortune2iloscmax6}||&7Fortune &cIII&6: &c{@fortune3iloscmin6}-{@fortune3iloscmax6}" to run [make player execute command "/debest komenda6"] format slot 16 of player with 1 of {@drop7} named "{@nazwa7}" with lore "&7Szansa&6:&c {@drop7_szansa}%||||&7Ilosc dropu&6:||&7Normalny&6: &c{@iloscmin7}-{@iloscmax7}||&7Fortune &cI&6: &c{@fortune1iloscmin7}-{@fortune1iloscmax7}||&7Fortune &cII&6: &c{@fortune2iloscmin7}-{@fortune2iloscmax7}||&7Fortune &cIII&6: &c{@fortune3iloscmin7}-{@fortune3iloscmax7}" to run [make player execute command "/debest komenda7"] format slot 19 of player with 1 of {@drop8} named "{@nazwa8}" with lore "&7Szansa&6:&c {@drop8_szansa}%||||&7Ilosc dropu&6:||&7Normalny&6: &c{@iloscmin8}-{@iloscmax8}||&7Fortune &cI&6: &c{@fortune1iloscmin8}-{@fortune1iloscmax8}||&7Fortune &cII&6: &c{@fortune2iloscmin8}-{@fortune2iloscmax8}||&7Fortune &cIII&6: &c{@fortune3iloscmin8}-{@fortune3iloscmax8}" to run [make player execute command "/debest komenda8"] format slot 20 of player with 1 of {@drop9} named "{@nazwa9}" with lore "&7Szansa&6:&c {@drop9_szansa}%||||&7Ilosc dropu&6:||&7Normalny&6: &c{@iloscmin9}-{@iloscmax9}||&7Fortune &cI&6: &c{@fortune1iloscmin9}-{@fortune1iloscmax9}||&7Fortune &cII&6: &c{@fortune2iloscmin9}-{@fortune2iloscmax9}||&7Fortune &cIII&6: &c{@fortune3iloscmin9}-{@fortune3iloscmax9}" to run [make player execute command "/debest komenda9"] format slot 21 of player with 1 of {@drop10} named "{@nazwa10}" with lore "&7Szansa&6:&c {@drop10_szansa}%||||&7Ilosc dropu&6:||&7Normalny&6: &c{@iloscmin10}-{@iloscmax10}||&7Fortune &cI&6: &c{@fortune1iloscmin10}-{@fortune1iloscmax10}||&7Fortune &cII&6: &c{@fortune2iloscmin10}-{@fortune2iloscmax10}||&7Fortune &cIII&6: &c{@fortune3iloscmin10}-{@fortune3iloscmax10}" to run [make player execute command "/debest komenda10"] format slot 34 of player with 1 of sunflower named "&7&lPunkty&6&l:" with lore "&7* &6%{punkty::%player%}% &7- &6punkty" to run [make player execute command "/debest sklep"] if arg 1 is "sklep": open chest with 5 rows named "&7Sklep z ulepszeniami&6!" to player wait 2 tick format slot 0 of player with 1 of bars named "&0" to close format slot 1 of player with 1 of bars named "&0" to close format slot 2 of player with 1 of bars named "&0" to close format slot 3 of player with 1 of bars named "&0" to close format slot 4 of player with 1 of bars named "&0" to close format slot 5 of player with 1 of bars named "&0" to close format slot 6 of player with 1 of bars named "&0" to close format slot 7 of player with 1 of bars named "&0" to close format slot 8 of player with 1 of bars named "&0" to close format slot 9 of player with 1 of bars named "&0" to close format slot 17 of player with 1 of bars named "&0" to close format slot 18 of player with 1 of bars named "&0" to close format slot 27 of player with 1 of bars named "&0" to close format slot 36 of player with 1 of bars named "&0" to close format slot 26 of player with 1 of bars named "&0" to close format slot 35 of player with 1 of bars named "&0" to close format slot 44 of player with 1 of bars named "&0" to close format slot 36 of player with 1 of bars named "&0" to close format slot 37 of player with 1 of bars named "&0" to close format slot 38 of player with 1 of bars named "&0" to close format slot 39 of player with 1 of bars named "&0" to close format slot 40 of player with 1 of bars named "&0" to close format slot 41 of player with 1 of bars named "&0" to close format slot 42 of player with 1 of bars named "&0" to close format slot 43 of player with 1 of bars named "&0" to close format slot 12 of player with 1 of anvil named "&6Wydajnosc" with lore "&7Kliknij aby ulepszyc" to run [make player execute command "/debest sklepeff"] format slot 13 of player with 1 of anvil named "&6Szczescie" with lore "&7Kliknij aby ulepszyc" to run [make player execute command "/debest sklepfor"] format slot 14 of player with 1 of anvil named "&6Niezniszczalnosc" with lore "&7Kliknij aby ulepszyc" to run [make player execute command "/debest sklepunb"] format slot 22 of player with 1 of diamond pickaxe named "{@nazwakilof}" with lore "&7Kliknij aby kupic||&7Koszt&6:&7 1000 &6Punktow" to run [make player execute command "/debest kupkilof"] format slot 34 of player with 1 of sunflower named "&7&lPunkty&6&l:" with lore "&7* &6%{punkty::%player%}% &7- &6punkty" to close if arg 1 is "kupfor": if name of player's tool is "{@nazwakilof}": if {FortuneII.%player%.drop} is true: if {punkty::%player%} <= {@kosztfor3}: send "&7Nie posiadasz odpowiedniej ilosci &6Punktow!" if {punkty::%player%} >= {@kosztfor3}: send "&7Ulepszyles szczescie na max'a&6!" enchant player's tool with fortune 3 remove {@kosztfor3} from {punkty::%player%} set {FortuneII.%player%.drop} to false if {FortuneI.%player%.drop} is true: if {punkty::%player%} <= {@kosztfor2}: send "&7Nie posiadasz odpowiedniej ilosci &6Punktow!" if {punkty::%player%} >= {@kosztfor2}: send "&7Zakupiles nowy enchant&6!" enchant player's tool with fortune 2 remove {@kosztfor2} from {punkty::%player%} set {FortuneI.%player%.drop} to false wait 1 second set {FortuneII.%player%.drop} to true if {Fortune.%player%.drop} is true: if {punkty::%player%} <= {@kosztfor1}: send "&7Nie posiadasz odpowiedniej ilosci &6Punktow!" if {punkty::%player%} >= {@kosztfor1}: send "&7Zakupiles nowy enchant&6!" enchant player's tool with fortune 1 remove {@kosztfor1} from {punkty::%player%} set {Fortune.%player%.drop} to false wait 1 second set {FortuneI.%player%.drop} to true if arg 1 is "kupunb": if name of player's tool is "{@nazwakilof}": if {UnbreakingIII.%player%.drop} is true: if {punkty::%player%} <= {@kosztunb4}: send "&7Nie posiadasz odpowiedniej ilosci &6Punktow!" if {punkty::%player%} >= {@kosztunb4}: send "&7Ulepszyles niezniszczalnosc na max'a&6!" enchant player's tool with unbreaking 4 remove {@kosztunb4} from {punkty::%player%} set {UnbreakingIII.%player%.drop} to false if {UnbreakingII.%player%.drop} is true: if {punkty::%player%} <= {@kosztunb3}: send "&7Nie posiadasz odpowiedniej ilosci &6Punktow!" if {punkty::%player%} >= {@kosztunb3}: send "&7Zakupiles nowy enchant&6!" enchant player's tool with unbreaking 3 remove {@kosztunb3} from {punkty::%player%} set {UnbreakingII.%player%.drop} to false wait 1 second set {UnbreakingIII.%player%.drop} to true if {UnbreakingI.%player%.drop} is true: if {punkty::%player%} <= {@kosztunb2}: send "&7Nie posiadasz odpowiedniej ilosci &6Punktow!" if {punkty::%player%} >= {@kosztunb2}: send "&7Zakupiles nowy enchant&6!" enchant player's tool with unbreaking 2 remove {@kosztunb2} from {punkty::%player%} set {UnbreakingI.%player%.drop} to false wait 1 second set {UnbreakingII.%player%.drop} to true if {Unbreaking.%player%.drop} is true: if {punkty::%player%} <= {@kosztunb1}: send "&7Nie posiadasz odpowiedniej ilosci &6Punktow!" if {punkty::%player%} >= {@kosztunb1}: send "&7Zakupiles nowy enchant&6!" enchant player's tool with unbreaking 1 remove {@kosztunb1} from {punkty::%player%} set {Unbreaking.%player%.drop} to false wait 1 second set {UnbreakingI.%player%.drop} to true if arg 1 is "kupeff": if name of player's tool is "{@nazwakilof}": if {EfficiencyV.%player%.drop} is true: if {punkty::%player%} <= {@koszteff6}: send "&7Nie posiadasz odpowiedniej ilosci &6Punktow!" if {punkty::%player%} >= {@koszteff6}: send "&7Ulepszyles wydajnosc na max'a&6!" enchant player's tool with efficiency 6 remove {@koszteff6} from {punkty::%player%} set {EfficiencyV.%player%.drop} to false if {EfficiencyIV.%player%.drop} is true: if {punkty::%player%} <= {@koszteff5}: send "&7Nie posiadasz odpowiedniej ilosci &6Punktow!" if {punkty::%player%} >= {@koszteff5}: send "&7Zakupiles nowy enchant&6!" enchant player's tool with efficiency 5 remove {@koszteff5} from {punkty::%player%} set {EfficiencyIV.%player%.drop} to false wait 1 second set {EfficiencyV.%player%.drop} to true if {EfficiencyIII.%player%.drop} is true: if {punkty::%player%} <= {@koszteff4}: send "&7Nie posiadasz odpowiedniej ilosci &6Punktow!" if {punkty::%player%} >= {@koszteff4}: send "&7Zakupiles nowy enchant&6!" enchant player's tool with efficiency 4 remove {@koszteff4} from {punkty::%player%} set {EfficiencyIII.%player%.drop} to false wait 1 second set {EfficiencyIV.%player%.drop} to true if {EfficiencyII.%player%.drop} is true: if {punkty::%player%} <= {@koszteff3}: send "&7Nie posiadasz odpowiedniej ilosci &6Punktow!" if {punkty::%player%} >= {@koszteff3}: send "&7Zakupiles nowy enchant&6!" enchant player's tool with efficiency 3 remove {@koszteff3} from {punkty::%player%} set {EfficiencyII.%player%.drop} to false wait 1 second set {EfficiencyIII.%player%.drop} to true if {EfficiencyI.%player%.drop} is true: if {punkty::%player%} <= {@koszteff2}: send "&7Nie posiadasz odpowiedniej ilosci &6Punktow!" if {punkty::%player%} >= {@koszteff2}: send "&7Zakupiles nowy enchant&6!" enchant player's tool with efficiency 2 remove {@koszteff2} from {punkty::%player%} set {EfficiencyI.%player%.drop} to false wait 1 second set {EfficiencyII.%player%.drop} to true if {Efficiency.%player%.drop} is true: if {punkty::%player%} <= {@koszteff1}: send "&7Nie posiadasz odpowiedniej ilosci &6Punktow!" if {punkty::%player%} >= {@koszteff1}: send "&7Zakupiles nowy enchant&6!" enchant player's tool with efficiency 1 remove {@koszteff1} from {punkty::%player%} set {Efficiency.%player%.drop} to false set {EfficiencyI.%player%.drop} to true if arg 1 is "sklepfor": if {Kilof.%player%.drop} is true: open chest with 3 rows named "&7Sklep&6: &7Szczescie" to player wait 2 tick format slot 0 of player with 1 of bars named "&0" to close format slot 1 of player with 1 of bars named "&0" to close format slot 2 of player with 1 of bars named "&0" to close format slot 3 of player with 1 of bars named "&0" to close format slot 4 of player with 1 of bars named "&0" to close format slot 5 of player with 1 of bars named "&0" to close format slot 6 of player with 1 of bars named "&0" to close format slot 7 of player with 1 of bars named "&0" to close format slot 8 of player with 1 of bars named "&0" to close format slot 9 of player with 1 of bars named "&0" to close format slot 17 of player with 1 of bars named "&0" to close format slot 18 of player with 1 of bars named "&0" to close format slot 19 of player with 1 of bars named "&0" to close format slot 20 of player with 1 of bars named "&0" to close format slot 21 of player with 1 of bars named "&0" to close format slot 22 of player with 1 of bars named "&0" to close format slot 23 of player with 1 of bars named "&0" to close format slot 24 of player with 1 of bars named "&0" to close format slot 25 of player with 1 of bars named "&0" to close format slot 26 of player with 1 of bars named "&0" to close if {Fortune.%player%.drop} is true: format slot 11 of player with 1 of light green wool named "&7Szczescie I &6- &aKup" with lore "&7Koszt&6:&e {@kosztfor1} punktow" to close then run [make player execute command "/debest kupfor"] format slot 13 of player with 1 of anvil named "&7Aktualny poziom &6- &7Szczescie 0" to close if {FortuneI.%player%.drop} is true: format slot 11 of player with 1 of light green wool named "&7Szczescie II &6- &aKup" with lore "&7Koszt&6:&e {@kosztfor2} punktow" to close then run [make player execute command "/debest kupfor"] format slot 13 of player with 1 of anvil named "&7Aktualny poziom &6- &7Szczescie 1" to close if {FortuneII.%player%.drop} is true: format slot 11 of player with 1 of light green wool named "&7Szczescie III &6- &aKup" with lore "&7Koszt&6:&e {@kosztfor3} punktow" to close then run [make player execute command "/debest kupfor"] format slot 13 of player with 1 of anvil named "&7Aktualny poziom &6- &7Szczescie 2" to close format slot 15 of player with 1 of sunflower named "&7&lPunkty&6&l:" with lore "&7* &6%{punkty::%player%}% &7- &6punkty" to close if {Kilof.%player%.drop} is false: send "&7Nie posiadasz {@nazwakilof}" if arg 1 is "sklepunb": if {Kilof.%player%.drop} is true: open chest with 3 rows named "&7Sklep&6: &7Niezniszczalnosc" to player wait 2 tick format slot 0 of player with 1 of bars named "&0" to close format slot 1 of player with 1 of bars named "&0" to close format slot 2 of player with 1 of bars named "&0" to close format slot 3 of player with 1 of bars named "&0" to close format slot 4 of player with 1 of bars named "&0" to close format slot 5 of player with 1 of bars named "&0" to close format slot 6 of player with 1 of bars named "&0" to close format slot 7 of player with 1 of bars named "&0" to close format slot 8 of player with 1 of bars named "&0" to close format slot 9 of player with 1 of bars named "&0" to close format slot 17 of player with 1 of bars named "&0" to close format slot 18 of player with 1 of bars named "&0" to close format slot 19 of player with 1 of bars named "&0" to close format slot 20 of player with 1 of bars named "&0" to close format slot 21 of player with 1 of bars named "&0" to close format slot 22 of player with 1 of bars named "&0" to close format slot 23 of player with 1 of bars named "&0" to close format slot 24 of player with 1 of bars named "&0" to close format slot 25 of player with 1 of bars named "&0" to close format slot 26 of player with 1 of bars named "&0" to close if {Unbreaking.%player%.drop} is true: format slot 11 of player with 1 of light green wool named "&7Niezniszczalnosc I &6- &aKup" with lore "&7Koszt&6:&e {@kosztunb1} punktow" to close then run [make player execute command "/debest kupunb"] format slot 13 of player with 1 of anvil named "&7Aktualny poziom &6- &7Niezniszczalnosc 0" to close if {UnbreakingI.%player%.drop} is true: format slot 11 of player with 1 of light green wool named "&7Niezniszczalnosc II &6- &aKup" with lore "&7Koszt&6:&e {@kosztunb2} punktow" to close then run [make player execute command "/debest kupunb"] format slot 13 of player with 1 of anvil named "&7Aktualny poziom &6- &7Niezniszczalnosc 1" to close if {UnbreakingII.%player%.drop} is true: format slot 11 of player with 1 of light green wool named "&7Niezniszczalnosc III &6- &aKup" with lore "&7Koszt&6:&e {@kosztunb3} punktow" to close then run [make player execute command "/debest kupunb"] format slot 13 of player with 1 of anvil named "&7Aktualny poziom &6- &7Niezniszczalnosc 2" to close if {UnbreakingIII.%player%.drop} is true: format slot 11 of player with 1 of light green wool named "&7Niezniszczalnosc IV &6- &aKup" with lore "&7Koszt&6:&e {@kosztunb4} punktow" to close then run [make player execute command "/debst kupunb"] format slot 13 of player with 1 of anvil named "&7Aktualny poziom &6- &7Niezniszczalnosc 3" to close format slot 15 of player with 1 of sunflower named "&7&lPunkty&6&l:" with lore "&7* &6%{punkty::%player%}% &7- &6punkty" to close if {Kilof.%player%.drop} is false: send "&7Nie posiadasz {@nazwakilof}" if arg 1 is "sklepeff": if {Kilof.%player%.drop} is true: open chest with 3 rows named "&7Sklep&6: &7Wydajnosc" to player wait 2 tick format slot 0 of player with 1 of bars named "&0" to close format slot 1 of player with 1 of bars named "&0" to close format slot 2 of player with 1 of bars named "&0" to close format slot 3 of player with 1 of bars named "&0" to close format slot 4 of player with 1 of bars named "&0" to close format slot 5 of player with 1 of bars named "&0" to close format slot 6 of player with 1 of bars named "&0" to close format slot 7 of player with 1 of bars named "&0" to close format slot 8 of player with 1 of bars named "&0" to close format slot 9 of player with 1 of bars named "&0" to close format slot 17 of player with 1 of bars named "&0" to close format slot 18 of player with 1 of bars named "&0" to close format slot 19 of player with 1 of bars named "&0" to close format slot 20 of player with 1 of bars named "&0" to close format slot 21 of player with 1 of bars named "&0" to close format slot 22 of player with 1 of bars named "&0" to close format slot 23 of player with 1 of bars named "&0" to close format slot 24 of player with 1 of bars named "&0" to close format slot 25 of player with 1 of bars named "&0" to close format slot 26 of player with 1 of bars named "&0" to close if {Efficiency.%player%.drop} is true: format slot 11 of player with 1 of light green wool named "&7Wydajnosc I &6- &aKup" with lore "&7Koszt&6:&e {@koszteff1} punktow" to close then run [make player execute command "/debest kupeff"] format slot 13 of player with 1 of anvil named "&7Aktualny poziom &6- &7Wydajnosc 0" to close if {EfficiencyI.%player%.drop} is true: format slot 11 of player with 1 of light green wool named "&7Wydajnosc II &6- &aKup" with lore "&7Koszt&6:&e {@koszteff2} punktow" to close then run [make player execute command "/debest kupeff"] format slot 13 of player with 1 of anvil named "&7Aktualny poziom &6- &7Wydajnosc 1" to close if {EfficiencyII.%player%.drop} is true: format slot 11 of player with 1 of light green wool named "&7Wydajnosc III &6- &aKup" with lore "&7Koszt&6:&e {@koszteff3} punktow" to close then run [make player execute command "/debest kupeff"] format slot 13 of player with 1 of anvil named "&7Aktualny poziom &6- &7Wydajnosc 2" to close if {EfficiencyIII.%player%.drop} is true: format slot 11 of player with 1 of light green wool named "&7Wydajnosc IV &6- &aKup" with lore "&7Koszt&6:&e {@koszteff4} punktow" to close then run [make player execute command "/debest kupeff"] format slot 13 of player with 1 of anvil named "&7Aktualny poziom &6- &7Wydajnosc 3" to close if {EfficiencyIV.%player%.drop} is true: format slot 11 of player with 1 of light green wool named "&7Wydajnosc V &6- &aKup" with lore "&7Koszt&6:&e {@koszteff5} punktow" to close then run [make player execute command "/debest kupeff"] format slot 13 of player with 1 of anvil named "&7Aktualny poziom &6- &7Wydajnosc 4" to close if {EfficiencyV.%player%.drop} is true: format slot 11 of player with 1 of light green wool named "&7Wydajnosc VI &6- &aKup" with lore "&7Koszt&6:&e {@koszteff6} punktow" to close then run [make player execute command "/debest kupeff"] format slot 13 of player with 1 of anvil named "&7Aktualny poziom &6- &7Wydajnosc 5" to close format slot 15 of player with 1 of sunflower named "&7&lPunkty&6&l:" with lore "&7* &6%{punkty::%player%}% &7- &6punkty" to close if {Kilof.%player%.drop} is false: send "&7Nie posiadasz {@nazwakilof}" if arg 1 is "kupkilof": if {punkty::%player%} <= 1000: send "&7Nie posiadasz odpowiedniej ilosci &6Punktow!" if {punkty::%player%} >= 1000: remove diamond pickaxe named "{@nazwakilof}" from player's inventory send "&7Zakupiles {@nazwakilof}&6!" give a diamond pickaxe named "{@nazwakilof}" to the player remove 1000 from {punkty::%player%} wait 1 second set {Efficiency.%player%.drop} to true set {Unbreaking.%player%.drop} to true set {Fortune.%player%.drop} to true set {EfficiencyI.%player%.drop} to false set {EfficiencyII.%player%.drop} to false set {EfficiencyIII.%player%.drop} to false set {EfficiencyIV.%player%.drop} to false set {EfficiencyV.%player%.drop} to false set {UnbreakingI.%player%.drop} to false set {UnbreakingII.%player%.drop} to false set {UnbreakingIII.%player%.drop} to false set {FortuneI.%player%.drop} to false set {FortuneII.%player%.drop} to false set {FortuneIII.%player%.drop} to false set {Kilof.%player%.drop} to true if arg 1 is "komenda1": if {drop1.%player%.drop} is true: set {drop1.%player%.drop} to false send "&cWylaczyles drop&c: {@nazwa1}&c!" else: set {drop1.%player%.drop} to true send "&aWlaczyles drop&c: {@nazwa1}&c!" if arg 1 is "komenda2": if {drop2.%player%.drop} is true: set {drop2.%player%.drop} to false send "&cWylaczyles drop&c: {@nazwa2}&c!" else: set {drop2.%player%.drop} to true send "&aWlaczyles drop&c: {@nazwa2}&c!" if arg 1 is "komenda3": if {drop3.%player%.drop} is true: set {drop3.%player%.drop} to false send "&cWylaczyles drop&c: {@nazwa3}&c!" else: set {drop3.%player%.drop} to true send "&aWlaczyles drop&c: {@nazwa3}&c!" if arg 1 is "komenda4": if {drop4.%player%.drop} is true: set {drop4.%player%.drop} to false send "&cWylaczyles drop&c: {@nazwa4}&c!" else: set {drop4.%player%.drop} to true send "&aWlaczyles drop&c: {@nazwa4}&c!" if arg 1 is "komenda5": if {drop5.%player%.drop} is true: set {drop5.%player%.drop} to false send "&cWylaczyles drop&c: {@nazwa5}&c!" else: set {drop5.%player%.drop} to true send "&aWlaczyles drop&c: {@nazwa5}&c!" if arg 1 is "komenda6": if {drop6.%player%.drop} is true: set {drop6.%player%.drop} to false send "&cWylaczyles drop&c: {@nazwa6}&c!" else: set {drop6.%player%.drop} to true send "&aWlaczyles drop&c: {@nazwa6}&c!" if arg 1 is "komenda7": if {drop7.%player%.drop} is true: set {drop7.%player%.drop} to false send "&cWylaczyles drop&c: {@nazwa7}&c!" else: set {drop7.%player%.drop} to true send "&aWlaczyles drop&c: {@nazwa7}&c!" if arg 1 is "komenda8": if {drop8.%player%.drop} is true: set {drop8.%player%.drop} to false send "&cWylaczyles drop&c: {@nazwa8}&c!" else: set {drop8.%player%.drop} to true send "&aWlaczyles drop&c: {@nazwa8}&c!" if arg 1 is "komenda9": if {drop9.%player%.drop} is true: set {drop9.%player%.drop} to false send "&cWylaczyles drop&c: {@nazwa9}&c!" else: set {drop9.%player%.drop} to true send "&aWlaczyles drop&c: {@nazwa9}&c!" if arg 1 is "komenda10": if {drop10.%player%.drop} is true: set {drop10.%player%.drop} to false send "&cWylaczyles drop&c: {@nazwa10}&c!" else: set {drop10.%player%.drop} to true send "&aWlaczyles drop&c: {@nazwa10}&c!"