variables: {NoBug.%player%} = true on rightclick: if {NoBug.%player%} is false: cancel event send "&cBugowanie jest zabronione! Jezeli jest to blad napisz do Wlasciciela!" on inventory close: if {NoBug.%player%} is false: cancel event command /drop []: trigger: set {NoBug.%player%} to false wait 3 ticks open chest with 3 rows named "&8** &cDROP Z KAMIENIA: &8**" to player wait 4 ticks if {Diament.%player%} is true: format slot 0 of player with 1 of diamond named "{@DiamentNazwaPL}" with lore " &8» &cSzansa&7: {@DiamentCh}%%|| &8» &cAktywny&7: &2TAK|| &8» &cFortune&7: &2TAK" to run [execute player command "runs %player% ewdiament"] else: format slot 0 of player with 1 of diamond named "&bDiament" with lore " &8» &cSzansa&7: 7.5%%|| &8» &cAktywny&7: &4NIE|| &8» &cFortune&7: &2TAK" to close then run [execute player command "runs %player% ewdiament"] if {zloto.%player%} is true: format slot 1 of player with 1 of gold ingot named "&6Zloto" with lore " &8» &cSzansa&7: 7.5%%|| &8» &cAktywny&7: &2TAK|| &8» &cFortune&7: &2TAK" to close then run [execute player command "runs %player% ewzloto"] else: format slot 1 of player with 1 of gold ingot named "&6Zloto" with lore " &8» &cSzansa&7: 7.5%%|| &8» &cAktywny&7: &4NIE|| &8» &cFortune&7: &2TAK" to close then run [execute player command "runs %player% ewzloto"] if {zelazo.%player%} is true: format slot 2 of player with 1 of iron ingot named "&7Zelazo" with lore " &8» &cSzansa&7: 7.5%%|| &8» &cAktywny&7: &2TAK|| &8» &cFortune&7: &2TAK" to close then run [execute player command "runs %player% ewzelazo"] else: format slot 2 of player with 1 of iron ingot named "&7Zelazo" with lore " &8» &cSzansa&7: 7.5%%|| &8» &cAktywny&7: &4NIE|| &8» &cFortune&7: &2TAK" to close then run [execute player command "runs %player% ewzelazo"] if {emerald.%player%} is true: format slot 3 of player with 1 of emerald named "&aSzmaragd" with lore " &8» &cSzansa&7: 7.5%%|| &8» &cAktywny&7: &2TAK|| &8» &cFortune&7: &2TAK" to close then run [execute player command "runs %player% ewszmaragd"] else: format slot 3 of player with 1 of emerald named "&aSzmaragd" with lore " &8» &cSzansa&7: 7.5%%|| &8» &cAktywny&7: &4NIE|| &8» &cFortune&7: &2TAK" to close then run [execute player command "runs %player% ewszmaragd"] if {wegiel.%player%} is true: format slot 4 of player with 1 of 263 named "&8Wegiel" with lore " &8» &cSzansa&7: 7.5%%|| &8» &cAktywny&7: &2TAK|| &8» &cFortune&7: &2TAK" to close then run [execute player command "runs %player% ewwegiel"] else: format slot 4 of player with 1 of 263 named "&8Wegiel" with lore " &8» &cSzansa&7: 7.5%%|| &8» &cAktywny&7: &4NIE|| &8» &cFortune&7: &2TAK" to close then run [execute player command "runs %player% ewwegiel"] if {ksiazka.%player%} is true: format slot 5 of player with 1 of book named "&6Ksiazka" with lore " &8» &cSzansa&7: 4.55%%|| &8» &cAktywny&7: &2TAK|| &8» &cFortune&7: &2TAK" to close then run [execute player command "runs %player% ewbiblioteczka"] else: format slot 5 of player with 1 of book named "&6Ksiazka" with lore " &8» &cSzansa&7: 4.55%%|| &8» &cAktywny&7: &4NIE|| &8» &cFortune&7: &2TAK" to close then run [execute player command "runs %player% ewbiblioteczka"] if {jabko.%player%} is true: format slot 6 of player with 1 of apple named "&cJabko" with lore " &8» &cSzansa&7: 3%%|| &8» &cAktywny&7: &2TAK|| &8» &cFortune&7: &2TAK" to close then run [execute player command "runs %player% ewjabko"] else: format slot 6 of player with 1 of apple named "&cJabko" with lore " &8» &cSzansa&7: 3%%|| &8» &cAktywny&7: &4NIE|| &8» &cFortune&7: &2TAK" to close then run [execute player command "runs %player% ewjabko"] if {redstone.%player%} is true: format slot 7 of player with 1 of redstone named "&cCzerwony Proszek" with lore " &8» &cSzansa&7: 7.5%%|| &8» &cAktywny&7: &2TAK|| &8» &cFortune&7: &2TAK" to close then run [execute player command "runs %player% ewredstone"] else: format slot 7 of player with 1 of redstone named "&cCzerwony Proszek" with lore " &8» &cSzansa&7: 7.5%%|| &8» &cAktywny&7: &4NIE|| &8» &cFortune&7: &2TAK" to close then run [execute player command "runs %player% ewredstone"] if {perla.%player%} is true: format slot 8 of player with 1 of ender pearl named "&5Perla" with lore " &8» &cSzansa&7: 1%%|| &8» &cAktywny&7: &2TAK|| &8» &cFortune&7: &4NIE" to close then run [execute player command "runs %player% ewperla"] else: format slot 8 of player with 1 of ender pearl named "&5Perla" with lore " &8» &cSzansa&7: 1%%|| &8» &cAktywny&7: &4NIE|| &8» &cFortune&7: &4NIE" to close then run [execute player command "runs %player% ewperla"] if {obsydian.%player%} is true: format slot 9 of player with 1 of obsidian named "&5Obsydian" with lore " &8» &cSzansa&7: 7.5%%|| &8» &cAktywny&7: &2TAK|| &8» &cFortune&7: &2TAK" to close then run [execute player command "runs %player% ewobsydian"] else: format slot 9 of player with 1 of obsidian named "&5Obsydian Proszek" with lore " &8» &cSzansa&7: 7.5%%|| &8» &cAktywny&7: &4NIE|| &8» &cFortune&7: &2TAK" to close then run [execute player command "runs %player% ewobsydian"] if {tnt.%player%} is true: format slot 10 of player with 1 of tnt named "&4Tnt" with lore " &8» &cSzansa&7: 1%%|| &8» &cAktywny&7: &2TAK|| &8» &cFortune&7: &2TAK" to close then run [execute player command "runs %player% ewtnt"] else: format slot 10 of player with 1 of tnt named "&4Tnt" with lore " &8» &cSzansa&7: 1%%|| &8» &cAktywny&7: &4NIE|| &8» &cFortune&7: &2TAK" to close then run [execute player command "runs %player% ewtnt"] if {PremiumCase} is true: format slot 13 of player with 1 of chest named "&a&lPremium &6&lCase" with lore " &8» &cSzansa&7: 0.01%%|| &8» &cDropi ze stone&7: &aTAK|| &8» &cTrwa Event&7: &2TAK" to close else: format slot 13 of player with 1 of chest named "&a&lPremium &6&lCase" with lore " &8» &cSzansa&7: 0.01%%|| &8» &cDropi ze stone&7: &4NIE|| &8» &cTrwa Event&7: &4NIE" to close if {cobble.%player%} is true: format slot 24 of player with 1 of cobblestone named "&7Cobblestone" with lore " &8» &cAktywny&7: &2TAK" to close then run [execute player command "runs %player% cobble"] else: format slot 24 of player with 1 of cobblestone named "&7Cobblestone" with lore " &8» &cAktywny&7: &4NIE" to close then run [execute player command "runs %player% cobble"] if {TurboDrop} is true: format slot 25 of player with 1 of golden pickaxe named "&d&lTurbo&b&lDrop" with lore "&cAktywny&7: &2TAK||&bZakupic mozna na naszej stronie||&bwww.105249.enmc.pl/sklep/||&d&lTurbo&b&lDrop &bZwieksza drop o 2.5%%" to close else: format slot 25 of player with 1 of golden pickaxe named "&d&lTurbo&b&lDrop" with lore "&cAktywny&7: &4NIE||&bZakupic mozna na naszej stronie||&bwww.105249.enmc.pl/sklep/||&d&lTurbo&b&lDrop &bZwieksza drop o 2.5%%" to close format slot 26 of player with 1 of 384 named "&6Exp&8 &a7" to close set {NoBug.%player%} to true