#DROP BY xAxee #ZROBIONY DLA 5torm #POZWALAM EDYTOWAC #ALE ZABRANIAM PODSZYWANIA SIE POD AUTORA #PROSZE TEGO NIE USUWAC options: czass: 2 variables: {cobble.%player%} = true {stone::%player%} = 0 {obsi::%player%} = 0 command /drop []: trigger: open chest with 3 rows named "&c&lDrop" to player wait 2 tick format slot 0 of player with 1 of 57 named "&8&l* &c&lDiament &8&l*" with lore "&8&l* &e7 Procent na Drop &8&l*||&cKliknij aby wylaczyc drop||&7Status: &a%{diament.%player%}%" to run [execute player command "/diament"] format slot 1 of player with 1 of 41 named "&8&l* &c&lZloto &8&l*" with lore "&8&l* &e3 Procent na Drop &8&l*||&cKliknij aby wylaczyc drop||&7Status: &a%{zloto.%player%}%" to run [execute player command "/zloto"] format slot 2 of player with 1 of 42 named "&8&l* &c&lZelazo &8&l*" with lore "&8&l* &e9 Procent na Drop &8&l*||&cKliknij aby wylaczyc drop||&7Status: &a%{zelazo.%player%}%" to run [execute player command "/zelazo"] format slot 3 of player with 1 of 49 named "&8&l* &c&lObsydian &8&l*" with lore "&8&l* &e7 Procent na Drop &8&l*||&cKliknij aby wylaczyc drop||&7Status: &a%{obsi.%player%}%" to run [execute player command "/obsidian"] format slot 4 of player with 1 of 133 named "&8&l* &c&lSzmaragd &8&l*" with lore "&8&l* &e5 Procent na Drop &8&l*||&cKliknij aby wylaczyc drop||&7Status: &a%{szmaragd.%player%}%" to run [execute player command "/szmaragd"] format slot 5 of player with 1 of 173 named "&8&l* &c&lWegiel &8&l*" with lore "&8&l* &e5 Procent na Drop &8&l*||&cKliknij aby wylaczyc drop||&7Status: &a%{wegiel.%player%}%" to run [execute player command "/wegiel"] format slot 6 of player with 1 of 46 named "&8&l* &c&lTNT &8&l*" with lore "&8&l* &e3 Procent na Drop &8&l*||&cKliknij aby wylaczyc drop||&7Status: &a%{tnt.%player%}%" to run [execute player command "/tntt"] format slot 7 of player with 1 of 47 named "&8&l* &c&lBiblioteczki &8&l*" with lore "&8&l* &e2 Procent na Drop &8&l*||&cKliknij aby wylaczyc drop||&7Status: &a%{biblio.%player%}%" to run [execute player command "/biblio"] format slot 8 of player with 1 of 260 named "&8&l* &c&lJablka &8&l*" with lore "&8&l* &e2.5 Procent na Drop &8&l*||&cKliknij aby wylaczyc drop||&7Status: &a%{jablka.%player%}%" to run [execute player command "/jablka"] format slot 9 of player with 1 of 368 named "&8&l* &c&lPerly &8&l*" with lore "&8&l* &e3 Procent na Drop &8&l*||&cKliknij aby wylaczyc drop||&7Status: &a%{perly.%player%}%" to run [execute player command "/perly"] format slot 10 of player with 1 of 287 named "&8&l* &c&lPajeczyny &8&l*" with lore "&8&l* &e1 Procent na Drop &8&l*||&cKliknij aby wylaczyc drop||&7Status: &a%{paje.%player%}%" to run [execute player command "/paje"] format slot 18 of player with 1 of red wool named "&4&lDropy" with lore "&cKliknij aby wylaczyc wszystkie dropy" to run [execute player command "/alldropoff"] format slot 19 of player with 1 of green wool named "&a&lDropy" with lore "&aKliknij aby wlaczyc wszystkie dropy" to run [execute player command "/alldropon"] format slot 26 of player with 1 of 4 named "&8&l* &7&lCobblestone &8&l*" with lore "&cKliknij aby wylaczyc drop" to run [execute player command "/cobble"] format slot 25 of player with 1 of 314 named "&8&l* &a&lTopki Kopania &8&l*" to run [execute player command "topp %player%"] command /diament []: trigger: if {diament.%player%} is true: set {diament.%player%} to false send "&cWylaczyles Drop!" to player wait 2 tick execute player command "/drop" else: set {diament.%player%} to true send "&cWlaczyles Drop!" to player wait 2 tick execute player command "/drop" command /zloto []: trigger: if {zloto.%player%} is true: set {zloto.%player%} to false send "&cWylaczyles Drop!" to player wait 2 tick execute player command "/drop" else: set {zloto.%player%} to true send "&cWlaczyles Drop!" to player wait 2 tick execute player command "/drop" command /zelazo []: trigger: if {zelazo.%player%} is true: set {zelazo.%player%} to false send "&cWylaczyles Drop!" to player wait 2 tick execute player command "/drop" else: set {zelazo.%player%} to true send "&cWlaczyles Drop!" to player wait 2 tick execute player command "/drop" command /obsidian []: trigger: if {obsi.%player%} is true: set {obsi.%player%} to false send "&cWylaczyles Drop!" to player wait 2 tick execute player command "/drop" else: set {obsi.%player%} to true send "&cWlaczyles Drop!" to player wait 2 tick execute player command "/drop" command /szmaragd []: trigger: if {szmaragd.%player%} is true: set {szmaragd.%player%} to false send "&cWylaczyles Drop!" to player wait 2 tick execute player command "/drop" else: set {szmaragd.%player%} to true send "&cWlaczyles Drop!" to player wait 2 tick execute player command "/drop" command /wegiel []: trigger: if {wegiel.%player%} is true: set {wegiel.%player%} to false send "&cWylaczyles Drop!" to player wait 2 tick execute player command "/drop" else: set {wegiel.%player%} to true send "&cWlaczyles Drop!" to player wait 2 tick execute player command "/drop" command /tnt []: trigger: if {tnt.%player%} is true: set {tnt.%player%} to false send "&cWylaczyles Drop!" to player wait 2 tick execute player command "/drop" else: set {tnt.%player%} to true send "&cWlaczyles Drop!" to player wait 2 tick execute player command "/drop" command /biblio []: trigger: if {biblio.%player%} is true: set {biblio.%player%} to false send "&cWylaczyles Drop!" to player wait 2 tick execute player command "/drop" else: set {biblio.%player%} to true send "&cWlaczyles Drop!" to player wait 2 tick execute player command "/drop" command /jablka []: trigger: if {jablka.%player%} is true: set {jablka.%player%} to false send "&cWylaczyles Drop!" to player wait 2 tick execute player command "/drop" else: set {jablka.%player%} to true send "&cWlaczyles Drop!" to player wait 2 tick execute player command "/drop" command /perly []: trigger: if {perly.%player%} is true: set {perly.%player%} to false send "&cWylaczyles Drop!" to player wait 2 tick execute player command "/drop" else: set {perly.%player%} to true send "&cWlaczyles Drop!" to player wait 2 tick execute player command "/drop" command /paje []: trigger: if {paje.%player%} is true: set {paje.%player%} to false send "&cWylaczyles Drop!" to player wait 2 tick execute player command "/drop" else: set {paje.%player%} to true send "&cWlaczyles Drop!" to player wait 2 tick execute player command "/drop" command /cobble []: trigger: if {cobble.%player%} is true: set {cobble.%player%} to false send "&6&l>> &4&lDrop cobble: &6wylaczony" else: set {cobble.%player%} to true send "&6&l>> &2&lDrop cobble: &6wlaczony" command /alldropoff: trigger: set {szmaragd.%player%} to false set {diament.%player%} to false set {tnt.%player%} to false set {perly.%player%} to false set {paje.%player%} to false set {biblio.%player%} to false set {wegiel.%player%} to false set {zelazo.%player%} to false set {zloto.%player%} to false set {obsi.%player%} to false set {jablka.%player%} to false send "&cWylaczyles wszytkie dropy!" to player wait 2 tick execute player command "/drop" command /alldropon: trigger: set {szmaragd.%player%} to true set {diament.%player%} to true set {tnt.%player%} to true set {perly.%player%} to true set {paje.%player%} to true set {biblio.%player%} to true set {wegiel.%player%} to true set {zelazo.%player%} to true set {zloto.%player%} to true set {obsi.%player%} to true set {jablka.%player%} to true send "&aWlaczyles wszytkie dropy!" to player wait 2 tick execute player command "/drop" command /topp []: trigger: wait {@czass} tick open chest with 1 rows named "&6Top 9 Wykopanego &fStone&6!" to player wait {@czass} tick loop 9 times: format slot loop-number -1 of player with 1 of gray glass pane named "&7Top &67 &7Graczy" to be unstealable format slot 4 of player with 1 of yellow glass pane named "&7Top &67 &7Graczy" with lore "&7» &cKliknij aby zamknac" to close format slot 3 of player with 1 of stone named "&6Top 7 Wykopanego kamienia!" with lore "&7» &cKliknij aby pokazac" to run [execute player command "stonetop %player%"] format slot 5 of player with 1 of obsidian named "&6Top 7 Wykopanego obsidianu!" with lore "&7» &cKliknij aby pokazac" to run [execute player command "obstop %player%"] command /stonetop []: trigger: wait {@czass} tick open chest with 1 rows named "&6Top 9 Wykopanego &fStone&6!" to player wait {@czass} tick format slot 0 of player with 1 of gray stained glass pane to close format slot 8 of player with 1 of gray stained glass pane to close set {_num} to size of {stone::*} loop {_num} times: loop {stone::*}: {_v.%loop-number%} is not set: set {_v.%loop-number%} to loop-value set {_n.%loop-number%} to loop-index loop-value is greater than {_v.%loop-number%}: set {_v.%loop-number%} to loop-value set {_n.%loop-number%} to loop-index remove {_v.%loop-number%} from {stone::*} loop {_num} times: loop-number is less than or equal to 9: set {_m} to "%loop-number%" loop-number is more than 19: set {_m} to loop-number {_v.%loop-number%} is more than 0: format slot loop-number of player with 1 stone named "&c%{_m}%. &6%{_n.%loop-number%}%" with lore "&aWykopanego Stone:||&f%{_v.%loop-number%}% Sztuk" to close set {stone::%{_n.%loop-number%}%} to {_v.%loop-number%} {_num} is less than 7: set {_r} to {_num}+1 loop 6 - {_num} times: set {_m} to "0%{_r}%" {_r} is more than 19: set {_m} to {_r} add 1 to {_r} command /obstop []: trigger: wait {@czass} tick open chest with 1 rows named "&6Top 9 Wykopanego &fStone&6!" to player wait {@czass} tick format slot 0 of player with 1 of gray stained glass pane to close format slot 8 of player with 1 of gray stained glass pane to close set {_num} to size of {obsi::*} loop {_num} times: loop {obsi::*}: {_v.%loop-number%} is not set: set {_v.%loop-number%} to loop-value set {_n.%loop-number%} to loop-index loop-value is greater than {_v.%loop-number%}: set {_v.%loop-number%} to loop-value set {_n.%loop-number%} to loop-index remove {_v.%loop-number%} from {obsi::*} loop {_num} times: loop-number is less than or equal to 9: set {_m} to "%loop-number%" loop-number is more than 19: set {_m} to loop-number {_v.%loop-number%} is more than 0: format slot loop-number of player with 1 obsidian named "&c%{_m}%. &6%{_n.%loop-number%}%" with lore "&aWykopanego Obsidianu:||&f%{_v.%loop-number%}% Sztuk" to close set {obsi::%{_n.%loop-number%}%} to {_v.%loop-number%} {_num} is less than 7: set {_r} to {_num}+1 loop 6 - {_num} times: set {_m} to "0%{_r}%" {_r} is more than 19: set {_m} to {_r} add 1 to {_r} on mine stone: add 1 to {stone::%player%} on mine obsidian: add 1 to {obsi::%player%} on mine stone: if {diament.%player%} is true: chance of 7%: drop 1 diamond block if {zloto.%player%} is true: chance of 5%: drop 1 gold block if {zelazo.%player%} is true: chance of 9%: drop 1 iron block if {obsi.%player%} is true: chance of 7%: drop 1 obsidian if {emerald.%player%} is true: chance of 5%: drop 1 emerald block if {wegiel.%player%} is true: chance of 5%: drop 1 coal block if {tnt.%player%} is true: chance of 3%: drop 1 tnt if {biblio.%player%} is true: chance of 2%: drop 1 bookshelf if {jablka.%player%} is true: chance of 2.5%: drop 1 apple if {perly.%player%} is true: chance of 3%: drop 1 ender pearl if {paje.%player%} is true: chance of 2%: drop 1 string #Wylaczanie dropu cobla on mine stone or cobblestone: if {cobble.%player%} is true: drop 1 cobblestone on mine of stone or cobblestone: cancel event set block to air