on load: set {zelazo0} to "2%%" set {diament0} to "1%%" set {zloto0} to "1%%" set {wegiel0} to "1%%" set {ksiazka0} to "1%%" set {perla0} to "1%%" set {szmaragd0} to "1%%" set {lapis0} to "1%%" set {redstone0} to "1%%" set {zelazo1} to "1%%" set {diament1} to "1%%" set {zloto1} to "1%%" set {wegiel1} to "1%%" set {ksiazka1} to "1%%" set {perla1} to "1%%" set {szmaragd1} to "1%%" set {lapis1} to "1%%" set {redstone1} to "1%%" set {zelazo2} to "1%%" set {diament2} to "1%%" set {zloto2} to "1%%" set {wegiel2} to "1%%" set {ksiazka2} to "1%%" set {perla2} to "1%%" set {szmaragd2} to "1%%" set {lapis2} to "1%%" set {redstone2} to "1%%" set {zelazo3} to "1%%" set {diament3} to "1%%" set {zloto3} to "1%%" set {wegiel3} to "1%%" set {ksiazka3} to "1%%" set {perla3} to "1%%" set {szmaragd3} to "1%%" set {lapis3} to "1%%" set {redstone3} to "1%%" set {vip-drop} to 1 on join: set {_turbodrop} to yaml value "turbodrop" from file "zmienne/%uuid of player%.yml" set {_message} to yaml value "wiadomosc" from file "zmienne/%uuid of player%.yml" set {_zelazo} to yaml value "zelazo" from file "zmienne/%uuid of player%.yml" set {_diament} to yaml value "diament" from file "zmienne/%uuid of player%.yml" set {_zloto} to yaml value "zloto" from file "zmienne/%uuid of player%.yml" set {_wegiel} to yaml value "wegiel" from file "zmienne/%uuid of player%.yml" set {_ksiazka} to yaml value "ksiazka" from file "zmienne/%uuid of player%.yml" set {_perla} to yaml value "perla" from file "zmienne/%uuid of player%.yml" set {_szmaragd} to yaml value "szmaragd" from file "zmienne/%uuid of player%.yml" set {_lapis} to yaml value "lapis" from file "zmienne/%uuid of player%.yml" set {_redstone} to yaml value "redstone" from file "zmienne/%uuid of player%.yml" set {_name} to yaml value "name" from file "zmienne/%uuid of player%.yml" set {_cobble} to yaml value "cobble" from file "zmienne/%uuid of player%.yml" if {_turbodrop} is not set: set yaml value "turbodrop" from file "zmienne/%uuid of player%.yml" to "false" set yaml value "turbodrop-time" from file "zmienne/%uuid of player%.yml" to "0" if {_message} is not set: set yaml value "wiadomosc" from file "zmienne/%uuid of player%.yml" to "true" if {_zelazo} is not set: set yaml value "zelazo" from file "zmienne/%uuid of player%.yml" to "true" if {_diament} is not set: set yaml value "diament" from file "zmienne/%uuid of player%.yml" to "true" if {_zloto} is not set: set yaml value "zloto" from file "zmienne/%uuid of player%.yml" to "true" if {_wegiel} is not set: set yaml value "wegiel" from file "zmienne/%uuid of player%.yml" to "true" if {_szmaragd} is not set: set yaml value "szmaragd" from file "zmienne/%uuid of player%.yml" to "true" if {_lapis} is not set: set yaml value "lapis" from file "zmienne/%uuid of player%.yml" to "true" if {_redstone} is not set: set yaml value "redstone" from file "zmienne/%uuid of player%.yml" to "true" if {_name} is not set: set yaml value "name" from file "zmienne/%uuid of player%.yml" to "%player%" on mine of any ore: cancel event set event-block to air send "&f&lMC&c&lPL &6» &7Nie mozesz wydobywac rud!" stop on mine of obsidian: if player's gamemode is not survival: stop if player's tool is not any pickaxe: cancel event add 2 xp to player on mine of stone: if player's gamemode is not survival: stop if player's tool is not any pickaxe: cancel event set {_cobble} to yaml value "cobble" from file "zmienne/%uuid of player%.yml" set {_cobble} to {_cobble} parsed as boolean if {_cobble} is false: set event-block to air cancel event add 1 xp to player set {_turbodrop} to yaml value "turbodrop" from file "zmienne/%uuid of player%.yml" set {_turbodrop} to {_turbodrop} parsed as boolean if {_turbodrop} is true: set {_ilosc} to 1 if player has enough space for {_ilosc} of iron ingot: add {_ilosc} of iron ingot to player's inventory else: drop {_ilosc} of iron ingot at event-block if player has enough space for {_ilosc} of diamond: add {_ilosc} of diamond to player's inventory else: drop {_ilosc} of diamond at event-block if player has enough space for {_ilosc} of gold ingot: add {_ilosc} of gold ingot to player's inventory else: drop {_ilosc} of gold ingot at event-block if player has enough space for {_ilosc} of coal: add {_ilosc} of coal to player's inventory else: drop {_ilosc} of coal at event-block if player has enough space for {_ilosc} of book: add {_ilosc} of book to player's inventory else: drop {_ilosc} of book at event-block if player has enough space for {_ilosc} of ender pearl: add {_ilosc} of ender pearl to player's inventory else: drop {_ilosc} of ender pearl at event-block if player has enough space for {_ilosc} of emerald: add {_ilosc} of emerald to player's inventory else: drop {_ilosc} of emerald at event-block if player has enough space for {_ilosc} of lapis: add {_ilosc} of lapis to player's inventory else: drop {_ilosc} of lapis at event-block if player has enough space for {_ilosc} of redstone: add {_ilosc} of redstone to player's inventory else: drop {_ilosc} of redstone at event-block stop set {_x} to "%level of fortune of tool of player%" set {_zelazoc} to "%{zelazo%{_x}%}%" set {_zelazoc} to {_zelazoc} parsed as number chance of {_zelazoc}: set {_zelazo} to yaml value "zelazo" from file "zmienne/%uuid of player%.yml" set {_zelazo} to {_zelazo} parsed as boolean if {_zelazo} is true: set {_ilosc} to random integer between 2 and 6 if player has enough space for {_ilosc} of iron ingot: add {_ilosc} of iron ingot to player's inventory else: drop {_ilosc} of iron ingot at event-block set {_message} to yaml value "wiadomosc" from file "zmienne/%uuid of player%.yml" set {_message} to {_message} parsed as boolean if {_message} is true: send "&f&lMC&c&lPL &6» &7Wydobyles &9x%{_ilosc}% &6zelazo&7!" set {_diamentc} to "%{diament%{_x}%}%" set {_diamentc} to {_diamentc} parsed as number send "%{_diamentc}%" chance of {_diamentc}: if player's y-coordinate is smaller than 15: set {_diament} to yaml value "diament" from file "zmienne/%uuid of player%.yml" set {_diament} to {_diament} parsed as boolean if {_diament} is true: set {_ilosc} to random integer between 1 and 3 if player has enough space for {_ilosc} of diamond: add {_ilosc} of diamond to player's inventory else: drop {_ilosc} of diamond at event-block set {_message} to yaml value "wiadomosc" from file "zmienne/%uuid of player%.yml" set {_message} to {_message} parsed as boolean if {_message} is true: send "&f&lMC&c&lPL &6» &7Wydobyles &9x%{_ilosc}% &6diament&7!" set {_zlotoc} to "%{zloto%{_x}%}%" set {_zlotoc} to {_zlotoc} parsed as number chance of {_zlotoc}: if player's y-coordinate is smaller than 10: set {_zloto} to yaml value "zloto" from file "zmienne/%uuid of player%.yml" set {_zloto} to {_zloto} parsed as boolean if {_zloto} is true: set {_ilosc} to random integer between 1 and 2 if player has enough space for {_ilosc} of gold ingot: add {_ilosc} of gold ingot to player's inventory else: drop {_ilosc} of gold ingot at event-block set {_message} to yaml value "wiadomosc" from file "zmienne/%uuid of player%.yml" set {_message} to {_message} parsed as boolean if {_message} is true: send "&f&lMC&c&lPL &6» &7Wydobyles &9x%{_ilosc}% &6zloto&7!" set {_wegielc} to "%{wegiel%{_x}%}%" set {_wegielc} to {_wegielc} parsed as number chance of {_wegielc}: set {_wegiel} to yaml value "wegiel" from file "zmienne/%uuid of player%.yml" set {_wegiel} to {_wegiel} parsed as boolean if {_wegiel} is true: set {_ilosc} to random integer between 1 and 7 if player has enough space for {_ilosc} of coal: add {_ilosc} of coal to player's inventory else: drop {_ilosc} of coal at event-block set {_message} to yaml value "wiadomosc" from file "zmienne/%uuid of player%.yml" set {_message} to {_message} parsed as boolean if {_message} is true: send "&f&lMC&c&lPL &6» &7Wydobyles &9x%{_ilosc}% &6wegiel&7!" set {_ksiazkac} to "%{ksiazka%{_x}%}%" set {_wegielc} to {_wegielc} parsed as number chance of {_ksiazkac}: if player's y-coordinate is smaller than 30: set {_ksiazka} to yaml value "ksiazka" from file "zmienne/%uuid of player%.yml" set {_ksiazka} to {_ksiazka} parsed as boolean if {_ksiazka} is true: set {_ilosc} to random integer between 1 and 3 if player has enough space for {_ilosc} of book: add {_ilosc} of book to player's inventory else: drop {_ilosc} of book at event-block set {_message} to yaml value "wiadomosc" from file "zmienne/%uuid of player%.yml" set {_message} to {_message} parsed as boolean if {_message} is true: send "&f&lMC&c&lPL &6» &7Wydobyles &9x%{_ilosc}% &6ksiazka&7!" set {_perlac} to "%{perla%{_x}%}%" set {_perlac} to {_perlac} parsed as number chance of {_perlac}: if player's y-coordinate is smaller than 10: set {_perla} to yaml value "perla" from file "zmienne/%uuid of player%.yml" set {_perla} to {_perla} parsed as boolean if {_perla} is true: set {_ilosc} to random integer between 1 and 2 if player has enough space for {_ilosc} of ender pearl: add {_ilosc} of ender pearl to player's inventory else: drop {_ilosc} of ender pearl at event-block set {_message} to yaml value "wiadomosc" from file "zmienne/%uuid of player%.yml" set {_message} to {_message} parsed as boolean if {_message} is true: send "&f&lMC&c&lPL &6» &7Wydobyles &9x%{_ilosc}% &6perla&7!" set {_szmaragdc} to "%{szmaragd%{_x}%}%" set {_szmaragdc} to {_szmaragdc} parsed as number chance of {_szmaragdc}: if player's y-coordinate is smaller than 20: set {_szmaragd} to yaml value "szmaragd" from file "zmienne/%uuid of player%.yml" set {_szmaragd} to {_szmaragd} parsed as boolean if {_szmaragd} is true: set {_ilosc} to random integer between 1 and 5 if player has enough space for {_ilosc} of emerald: add {_ilosc} of emerald to player's inventory else: drop {_ilosc} of emerald at event-block set {_message} to yaml value "wiadomosc" from file "zmienne/%uuid of player%.yml" set {_message} to {_message} parsed as boolean if {_message} is true: send "&f&lMC&c&lPL &6» &7Wydobyles &9x%{_ilosc}% &6szmaragd&7!" set {_lapisc} to "%{lapis%{_x}%}%" set {_szmaragdc} to {_szmaragdc} parsed as number chance of {_lapisc}: set {_lapis} to yaml value "lapis" from file "zmienne/%uuid of player%.yml" set {_lapis} to {_lapis} parsed as boolean if {_lapis} is true: set {_ilosc} to random integer between 1 and 9 if player has enough space for {_ilosc} of lapis: add {_ilosc} of lapis to player's inventory else: drop {_ilosc} of lapis at event-block set {_message} to yaml value "wiadomosc" from file "zmienne/%uuid of player%.yml" set {_message} to {_message} parsed as boolean if {_message} is true: send "&f&lMC&c&lPL &6» &7Wydobyles &9x%{_ilosc}% &6lapis&7!" set {_test} to "1%%" parsed as number set {_number} to "0.01" parsed as number send "%{_test}+{_number}%" set {_redstonec} to "%{redstone%{_x}%}%" set {_redstonec} to {_redstonec} parsed as number chance of {_redstonec}: set {_redstone} to yaml value "redstone" from file "zmienne/%uuid of player%.yml" set {_redstone} to {_redstone} parsed as boolean if {_redstone} is true: set {_ilosc} to random integer between 1 and 9 if player has enough space for {_ilosc} of redstone: add {_ilosc} of redstone to player's inventory else: drop {_ilosc} of redstone at event-block set {_message} to yaml value "wiadomosc" from file "zmienne/%uuid of player%.yml" set {_message} to {_message} parsed as boolean if {_message} is true: send "&f&lMC&c&lPL &6» &7Wydobyles &9x%{_ilosc}% &6czerwony proch&7!" command /drop [] [] []: trigger: if arg 1 is "drop": open chest with 1 row named "&6Menu dropu" to player wait 1 tick format slot 0 of player with stained glass pane:15 named " " to be unstealable format slot 1 of player with stone named "&aDrop z kamienia" to close then run [run player command "/drop stone" as op] format slot 2 of player with obsidian named "&aDrop z obsydianu" to close then run [run player command "/drop obsidian" as op] format slot 3 of player with stained glass pane:15 named " " to be unstealable set {_cobble} to yaml value "cobble" from file "zmienne/%uuid of player%.yml" set {_cobble} to {_cobble} parsed as boolean if {_cobble} is true: format slot 4 of player with cobblestone of unbreaking 1 named " &aWlaczone " with lore " &6Bruk wylatuje z kamienia! || &6Kliknij, aby &cwylaczyc." to close then run [set yaml value "cobble" from file "zmienne/%uuid of player%.yml" to "false"] else: format slot 4 of player with cobblestone named " &cWylaczone " with lore " &6Bruk nie wylatuje z kamienia! || &6Kliknij, aby &awlaczyc." to close then run [set yaml value "cobble" from file "zmienne/%uuid of player%.yml" to "true"] set {_message} to yaml value "wiadomosc" from file "zmienne/%uuid of player%.yml" set {_message} to {_message} parsed as boolean if {_message} is true: format slot 5 of player with paper of unbreaking 1 named "&aWlaczone" with lore " &6Wiadomosci o dropie sa wlaczone!|| &6Kliknij na papier, aby je &cwylaczyc" to close then run [set yaml value "wiadomosc" from file "zmienne/%uuid of player%.yml" to "false"] else: format slot 5 of player with paper named "&cWylaczone" with lore " &6Wiadomosci o dropie sa wylaczone!|| &6Kliknij na papier, aby je &awlaczyc" to close then run [set yaml value "wiadomosc" from file "zmienne/%uuid of player%.yml" to "true"] set {_turbodrop} to yaml value "turbodrop" from file "zmienne/%uuid of player%.yml" set {_turbodrop} to {_turbodrop} parsed as boolean if {_turbodrop} is true: set {_time} to yaml value "turbodrop-time" from file "zmienne/%uuid of player%.yml" set {_time} to {_time} parsed as number format slot 6 of player with diamond pickaxe of unbreaking 1 named "&aWlaczony" with lore " &6Twoj turbodrop jest wlaczony!|| || &6Do konca pozostalo &a%{_time}%s&6.|| &6Turbodrop daje Ci &a100%% &6szans na drop kazdego materialu!" to be unstealable else: format slot 6 of player with diamond pickaxe named "&cWylaczony" with lore " &6Twoj turbodrop jest wylaczony :/!|| &6Zapraszamy do kupna! Wpisz &a/sms&6, lub &a/psc|| &7Turbodrop daje Ci &a100%% &6szans na drop kazdego materialu!" to be unstealable format slot 7 of player with wood pickaxe named "&6Do EQ" with lore " &6Kliknij, aby &aaktywowac&6, lub &cdezaktywowac &6drop prosto do EQ!" to close then run [run player command "/autopickup" as op] format slot 8 of player with stained glass pane:15 named " " to be unstealable stop if arg 1 is "turbodrop": if player doesn't have permission "admin": stop if arg 2 is not set: send "&cPodaj nick gracza!" stop if arg 3 is not set: send "&cPodaj czas w sekundach!" stop set {_player} to arg 2 set {_player} to {_player} parsed as offlineplayer set {_czas} to arg 3 set {_czas} to {_czas} parsed as number if {_player} is not online: send "&cTen gracz nie jest online!" stop if {_czas} is not number: send "&cCzas nie jest liczba!" stop set yaml value "turbodrop" from file "zmienne/%uuid of {_player}%.yml" to "true" set yaml value "turbodrop-time" from file "zmienne/%uuid of {_player}%.yml" to "%{_czas}%" broadcast "&7&m------------------&r&8[&2TurboDrop&8]&r&7&m------------------" broadcast " &7Gracz &a%{_player}% &7zakupil sobie &aTurboDrop&7!" broadcast " &7Zakonczy on mu sie za &a%{_czas}%s&7!" broadcast " &7Tez chcesz?! &a/sms&7, &a/psc" broadcast "&7&m------------------&r&8[&2TurboDrop&8]&r&7&m------------------" stop if arg 1 is "obsidian": if player doesn't have permission "admin": stop close player's inventory wait 0.2 seconds open chest with 1 row named "&6Drop z obsydianu" to player wait 1 tick format slot 0 of player with stained glass pane:15 named " " to be unstealable format slot 1 of player with stained glass pane:15 named " " to be unstealable format slot 2 of player with stained glass pane:15 named " " to be unstealable format slot 3 of player with stained glass pane:15 named " " to be unstealable format slot 4 of player with experience bottle named " &7Exp " with lore " &6Brak dostepnych opcji " to be unstealable format slot 5 of player with stained glass pane:15 named " " to be unstealable format slot 6 of player with stained glass pane:15 named " " to be unstealable format slot 7 of player with stained glass pane:15 named " " to be unstealable format slot 8 of player with stained glass pane:15 named " " to be unstealable stop if arg 1 is "stone": if player doesn't have permission "admin": stop close player's inventory wait 0.2 seconds open chest with 3 rows named "&6Drop z kamienia" to player wait 1 tick format slot 0 of player with stained glass pane:15 named " " to be unstealable set {_zelazo} to yaml value "zelazo" from file "zmienne/%uuid of player%.yml" set {_zelazo} to {_zelazo} parsed as boolean if {_zelazo} is true: format slot 1 of player with iron ingot of unbreaking 1 named " &6Zelazo " with lore " &7Aktywny: &atak|| &7Ilosc: &a2-6|| &7Szansa: &a%{zelazo0}%|| &7Fortuna: &atak|| &7Wysokosc: &awszedzie" to close then run [set yaml value "zelazo" from file "zmienne/%uuid of player%.yml" to "false"]->[run player command "/drop stone" as op] else: format slot 1 of player with iron ingot named " &6Zelazo " with lore " &7Aktywny: &cnie|| &7Ilosc: &a2-6|| &7Szansa: &a%{zelazo0}%|| &7Fortuna: &atak|| &7Wysokosc: &awszedzie" to close then run [set yaml value "zelazo" from file "zmienne/%uuid of player%.yml" to "true"]->[run player command "/drop stone" as op] set {_diament} to yaml value "diament" from file "zmienne/%uuid of player%.yml" set {_diament} to {_diament} parsed as boolean if {_diament} is true: format slot 2 of player with diamond of unbreaking 1 named " &6Diament " with lore " &7Aktywny: &atak|| &7Ilosc: &a1-3|| &7Szansa: &a%{diament0}%|| &7Fortuna: &atak|| &7Wysokosc: &aod 15" to close then run [set yaml value "diament" from file "zmienne/%uuid of player%.yml" to "false"]->[run player command "/drop stone" as op] else: format slot 2 of player with diamond named " &6Diament " with lore " &7Aktywny: &cnie|| &7Ilosc: &a1-3|| &7Szansa: &a%{diament0}%|| &7Fortuna: &atak|| &7Wysokosc: &aod 15" to close then run [set yaml value "diament" from file "zmienne/%uuid of player%.yml" to "true"]->[run player command "/drop stone" as op] set {_zloto} to yaml value "zloto" from file "zmienne/%uuid of player%.yml" set {_zloto} to {_zloto} parsed as boolean if {_zloto} is true: format slot 3 of player with gold ingot of unbreaking 1 named " &6Zloto " with lore " &7Aktywny: &atak|| &7Ilosc: &a1-2|| &7Szansa: &a%{zloto0}%|| &7Fortuna: &atak|| &7Wysokosc: &aod 10" to close then run [set yaml value "zloto" from file "zmienne/%uuid of player%.yml" to "false"]->[run player command "/drop stone" as op] else: format slot 3 of player with gold ingot named " &6Zloto " with lore " &7Aktywny: &cnie|| &7Ilosc: &a1-2|| &7Szansa: &a%{zloto0}%|| &7Fortuna: &atak|| &7Wysokosc: &aod 10" to close then run [set yaml value "zloto" from file "zmienne/%uuid of player%.yml" to "true"]->[run player command "/drop stone" as op] set {_wegiel} to yaml value "wegiel" from file "zmienne/%uuid of player%.yml" set {_wegiel} to {_wegiel} parsed as boolean if {_wegiel} is true: format slot 4 of player with coal of unbreaking 1 named " &6Wegiel " with lore " &7Aktywny: &atak|| &7Ilosc: &a1-7|| &7Szansa: &a%{wegiel0}%|| &7Fortuna: &atak|| &7Wysokosc: &awszedzie" to close then run [set yaml value "wegiel" from file "zmienne/%uuid of player%.yml" to "false"]->[run player command "/drop stone" as op] else: format slot 4 of player with coal named " &6Wegiel " with lore " &7Aktywny: &cnie|| &7Ilosc: &a1-7|| &7Szansa: &a%{wegiel0}%|| &7Fortuna: &atak|| &7Wysokosc: &awszedzie" to close then run [set yaml value "wegiel" from file "zmienne/%uuid of player%.yml" to "true"]->[run player command "/drop stone" as op] set {_ksiazka} to yaml value "ksiazka" from file "zmienne/%uuid of player%.yml" set {_ksiazka} to {_ksiazka} parsed as boolean if {_ksiazka} is true: format slot 5 of player with book of unbreaking 1 named " &6Ksiazka " with lore " &7Aktywny: &atak|| &7Ilosc: &a1-3|| &7Szansa: &a%{ksiazka0}%|| &7Fortuna: &atak|| &7Wysokosc: &aod 30" to close then run [set yaml value "ksiazka" from file "zmienne/%uuid of player%.yml" to "false"]->[run player command "/drop stone" as op] else: format slot 5 of player with book named " &6Ksiazka " with lore " &7Aktywny: &cnie|| &7Ilosc: &a1-3|| &7Szansa: &a%{ksiazka0}%|| &7Fortuna: &atak|| &7Wysokosc: &aod 30" to close then run [set yaml value "ksiazka" from file "zmienne/%uuid of player%.yml" to "true"]->[run player command "/drop stone" as op] set {_perla} to yaml value "perla" from file "zmienne/%uuid of player%.yml" set {_perla} to {_perla} parsed as boolean if {_perla} is true: format slot 6 of player with ender pearl of unbreaking 1 named " &6Perla " with lore " &7Aktywny: &atak|| &7Ilosc: &a1-2|| &7Szansa: &a%{perla0}%|| &7Fortuna: &atak|| &7Wysokosc: &aod 10" to close then run [set yaml value "perla" from file "zmienne/%uuid of player%.yml" to "false"]->[run player command "/drop stone" as op] else: format slot 6 of player with ender pearl named " &6Perla " with lore " &7Aktywny: &cnie|| &7Ilosc: &a1-2|| &7Szansa: &a%{perla0}%|| &7Fortuna: &atak|| &7Wysokosc: &aod 10" to close then run [set yaml value "perla" from file "zmienne/%uuid of player%.yml" to "true"]->[run player command "/drop stone" as op] set {_szmaragd} to yaml value "szmaragd" from file "zmienne/%uuid of player%.yml" set {_szmaragd} to {_szmaragd} parsed as boolean if {_szmaragd} is true: format slot 7 of player with emerald of unbreaking 1 named " &6Szmaragd " with lore " &7Aktywny: &atak|| &7Ilosc: &a1-5|| &7Szansa: &a%{szmaragd0}%|| &7Fortuna: &atak|| &7Wysokosc: &aod 20" to close then run [set yaml value "szmaragd" from file "zmienne/%uuid of player%.yml" to "false"]->[run player command "/drop stone" as op] else: format slot 7 of player with emerald named " &6Szmaragd " with lore " &7Aktywny: &cnie|| &7Ilosc: &a1-5|| &7Szansa: &a%{szmaragd0}%|| &7Fortuna: &atak|| &7Wysokosc: &aod 20" to close then run [set yaml value "szmaragd" from file "zmienne/%uuid of player%.yml" to "true"]->[run player command "/drop stone" as op] format slot 8 of player with stained glass pane:15 named " " to be unstealable set {_lapis} to yaml value "lapis" from file "zmienne/%uuid of player%.yml" set {_lapis} to {_lapis} parsed as boolean if {_lapis} is true: format slot 12 of player with lapis of unbreaking 1 named " &6Lapis " with lore " &7Aktywny: &atak|| &7Ilosc: &a1-9|| &7Szansa: &a%{lapis0}%|| &7Fortuna: tak|| &7Wysokosc: &awszedzie" to close then run [set yaml value "lapis" from file "zmienne/%uuid of player%.yml" to "false"]->[run player command "/drop stone" as op] else: format slot 12 of player with lapis named " &6Lapis " with lore " &7Aktywny: &cnie|| &7Ilosc: &a1-9|| &7Szansa: &a%{lapis0}%|| &7Fortuna: &atak|| &7Wysokosc: &awszedzie" to close then run [set yaml value "lapis" from file "zmienne/%uuid of player%.yml" to "true"]->[run player command "/drop stone" as op] set {_redstone} to yaml value "redstone" from file "zmienne/%uuid of player%.yml" set {_redstone} to {_redstone} parsed as boolean if {_redstone} is true: format slot 14 of player with redstone of unbreaking 1 named " &6Czerwony proch " with lore " &7Aktywny: &atak|| &7Ilosc: &a1-9|| &7Szansa: &a%{redstone0}%|| &7Fortuna: &atak|| &7Wysokosc: &awszedzie" to close then run [set yaml value "redstone" from file "zmienne/%uuid of player%.yml" to "false"]->[run player command "/drop stone" as op] else: format slot 14 of player with redstone named " &6Czerwony proch " with lore " &7Aktywny: &cnie|| &7Ilosc: &a1-9|| &7Szansa: &a%{redstone0}%|| &7Fortuna: &atak|| &7Wysokosc: &awszedzie" to close then run [set yaml value "redstone" from file "zmienne/%uuid of player%.yml" to "true"]->[run player command "/drop stone" as op] format slot 13 of player with experience bottle named " &7Exp " with lore " &6Brak dostepnych opcji " to be unstealable format slot 9 of player with stained glass pane:15 named " " to be unstealable format slot 10 of player with stained glass pane:15 named " " to be unstealable format slot 11 of player with stained glass pane:15 named " " to be unstealable format slot 15 of player with stained glass pane:15 named " " to be unstealable format slot 16 of player with stained glass pane:15 named " " to be unstealable format slot 17 of player with stained glass pane:15 named " " to be unstealable format slot 20 of player with stained glass pane:5 named " &aAktywuj wszystko " to close then run [set yaml value "zelazo" from file "zmienne/%uuid of player%.yml" to "true"]->[set yaml value "diament" from file "zmienne/%uuid of player%.yml" to "true"]->[set yaml value "zloto" from file "zmienne/%uuid of player%.yml" to "true"]->[set yaml value "wegiel" from file "zmienne/%uuid of player%.yml" to "true"]->[set yaml value "ksiazka" from file "zmienne/%uuid of player%.yml" to "true"]->[set yaml value "perla" from file "zmienne/%uuid of player%.yml" to "true"]->[set yaml value "szmaragd" from file "zmienne/%uuid of player%.yml" to "true"]->[set yaml value "lapis" from file "zmienne/%uuid of player%.yml" to "true"]->[set yaml value "redstone" from file "zmienne/%uuid of player%.yml" to "true"]->[run player command "/drop stone" as op] format slot 24 of player with stained glass pane:14 named " &cDezaktywuj wszystko " to close then run [set yaml value "zelazo" from file "zmienne/%uuid of player%.yml" to "false"]->[set yaml value "diament" from file "zmienne/%uuid of player%.yml" to "false"]->[set yaml value "zloto" from file "zmienne/%uuid of player%.yml" to "fa1lse"]->[set yaml value "wegiel" from file "zmienne/%uuid of player%.yml" to "false"]->[set yaml value "ksiazka" from file "zmienne/%uuid of player%.yml" to "false"]->[set yaml value "perla" from file "zmienne/%uuid of player%.yml" to "false"]->[set yaml value "szmaragd" from file "zmienne/%uuid of player%.yml" to "false"]->[set yaml value "lapis" from file "zmienne/%uuid of player%.yml" to "false"]->[set yaml value "redstone" from file "zmienne/%uuid of player%.yml" to "false"]->[run player command "/drop stone" as op] format slot 18 of player with stained glass pane:15 named " " to be unstealable format slot 19 of player with stained glass pane:15 named " " to be unstealable format slot 21 of player with stained glass pane:15 named " " to be unstealable format slot 22 of player with stained glass pane:15 named " " to be unstealable format slot 23 of player with stained glass pane:15 named " " to be unstealable format slot 25 of player with stained glass pane:15 named " " to be unstealable format slot 26 of player with stained glass pane:15 named " " to be unstealable stop on inventory click: if "%inventory name of current inventory of player%" is "&6Drop z kamienia" or "&6Drop z obsydianu" or "&6Menu dropu": cancel event every 1 second: loop all players: set {_x} to yaml value "turbodrop" from file "zmienne/%uuid of loop-player%.yml" set {_x} to {_x} parsed as boolean if {_x} is true: set {_z} to yaml value "turbodrop-time" from file "zmienne/%uuid of loop-player%.yml" set {_z} to {_z} parsed as number remove 1 from {_z} if {_z} is larger than 0: set yaml value "turbodrop-time" from file "zmienne/%uuid of loop-player%.yml" to "%{_z}%" stop if {_z} is smaller than or equal to 0: set yaml value "turbodrop-time" from file "zmienne/%uuid of loop-player%.yml" to "0" set yaml value "turbodrop" from file "zmienne/%uuid of loop-player%.yml" to "false" send "&7&m------------------&r&8[&2TurboDrop&8]&r&7&m------------------" to loop-player send " &7Twoj &aTurboDrop &7zakonczyl sie!" to loop-player send "&7&m------------------&r&8[&2TurboDrop&8]&r&7&m------------------" to loop-player stop