command /xxbkat1: trigger: open chest with 6 rows named "&4&lBloki BUY" to player command /xxbkat2: trigger: open chest with 6 rows named "&4&lMechanzimy BUY" to player command /xxbkat3: trigger: open chest with 6 rows named "&4&lRoslinnosc BUY" to player command /xxbkat4: trigger: open chest with 6 rows named "&4&lWalka BUY" to player command /xxbkat5: trigger: open chest with 6 rows named "&4&lCenne BUY" to player command /xxbkat6: trigger: open chest with 6 rows named "&4&lRozne BUY" to player command /xxbkat7: trigger: open chest with 6 rows named "&4&lSpawny BUY" to player command /xxbkat8: trigger: open chest with 6 rows named "&4&lMikstury BUY" to player # =----------------------------------------------------------------------------------------------------------------------------------------------------- # ===================================================================================================================================================== # =----------------------------------------------------------------------------------------------------------------------------------------------------- command /xgguisklep1: trigger: open chest with 1 rows named "&4&lKATEGORIE BUY" to player format slot 0 of player with 1 of grass named "&2» &7Bloki" to close then run [execute player command "/xbkat1"] format slot 1 of player with 1 of piston base named "&2» &7Mechanizmy" to close then run [execute player command "/xbkat2"] format slot 2 of player with 1 of carrot named "&2» &7Roslinnosc" to close then run [execute player command "/xbkat3"] format slot 3 of player with 1 of diamond sword named "&2» &7Walka" to close then run [execute player command "/xbkat4"] format slot 4 of player with 1 of diamond named "&2» &7Cenne" to close then run [execute player command "/xbkat5"] format slot 5 of player with 1 of fire charge named "&2» &7Rozne" to close then run [execute player command "/xbkat6"] format slot 6 of player with 1 of villager spawn egg named "&2» &7Spawny" to close then run [execute player command "/xbkat7"] format slot 7 of player with 1 of potion of named "&2» &7Mikstury" to close then run [execute player command "/xbkat8"] command /xgguisklep2: trigger: open chest with 1 rows named "&4&lKATEGORIE SELL" to player format slot 0 of player with 1 of grass named "&2» &7Bloki" to close then run [execute player command "/xbkatt1"] format slot 1 of player with 1 of piston base named "&2» &7Mechanizmy" to close then run [execute player command "/xbkatt2"] format slot 2 of player with 1 of carrot named "&2» &7Roslinnosc" to close then run [execute player command "/xbkatt3"] format slot 3 of player with 1 of diamond sword named "&2» &7Walka" to close then run [execute player command "/xbkatt4"] format slot 4 of player with 1 of diamond named "&2» &7Cenne" to close then run [execute player command "/xbkatt5"] format slot 5 of player with 1 of fire charge named "&2» &7Rozne" to close then run [execute player command "/xbkat6"] format slot 6 of player with 1 of villager spawn egg named "&2» &7Spawny" to close then run [execute player command "/xbkatt7"] format slot 7 of player with 1 of potion of named "&2» &7Mikstury" to close then run [execute player command "/xbkatt8"] command /guisklepp: trigger: wait 5 tick execute player command "/guisklep" command /xguisklep1: trigger: wait 5 tick execute player command "/xgguisklep1" command /xguisklep2: trigger: wait 5 tick execute player command "/xgguisklep2" command /guisklep: trigger: open chest with 3 rows named "&4&lMENU" to player format slot 0 of player with 1 of black glass named "&2" to close then run [execute player command "/guisklepp"] format slot 1 of player with 1 of black glass named "&2" to close then run [execute player command "/guisklepp"] format slot 2 of player with 1 of black glass named "&2" to close then run [execute player command "/guisklepp"] format slot 3 of player with 1 of black glass named "&2" to close then run [execute player command "/guisklepp"] format slot 4 of player with 1 of black glass named "&2" to close then run [execute player command "/guisklepp"] format slot 5 of player with 1 of black glass named "&2" to close then run [execute player command "/guisklepp"] format slot 6 of player with 1 of black glass named "&2" to close then run [execute player command "/guisklepp"] format slot 7 of player with 1 of black glass named "&2" to close then run [execute player command "/guisklepp"] format slot 8 of player with 1 of black glass named "&2" to close then run [execute player command "/guisklepp"] format slot 9 of player with 1 of black glass named "&2" to close then run [execute player command "/guisklepp"] format slot 10 of player with 1 of black glass named "&2" to close then run [execute player command "/guisklepp"] format slot 12 of player with 1 of black glass named "&2" to close then run [execute player command "/guisklepp"] format slot 11 of player with 1 of light green wool named "&2» &7SKLEP &4&lW LIPCU" to close then run [execute player command "/xguisklep1"] format slot 13 of player with 1 of black glass named "&2" to close then run [execute player command "/guisklepp"] format slot 14 of player with 1 of black glass named "&2" to close then run [execute player command "/guisklepp"] format slot 16 of player with 1 of black glass named "&2" to close then run [execute player command "/guisklepp"] format slot 15 of player with 1 of red wool named "&2» &7SKUP" to close then run [execute player command "/xguisklep2"] format slot 17 of player with 1 of black glass named "&2" to close then run [execute player command "/guisklepp"] format slot 18 of player with 1 of black glass named "&2" to close then run [execute player command "/guisklepp"] format slot 19 of player with 1 of black glass named "&2" to close then run [execute player command "/guisklepp"] format slot 20 of player with 1 of black glass named "&2" to close then run [execute player command "/guisklepp"] format slot 21 of player with 1 of black glass named "&2" to close then run [execute player command "/guisklepp"] format slot 22 of player with 1 of black glass named "&2" to close then run [execute player command "/guisklepp"] format slot 23 of player with 1 of black glass named "&2" to close then run [execute player command "/guisklepp"] format slot 24 of player with 1 of black glass named "&2" to close then run [execute player command "/guisklepp"] format slot 25 of player with 1 of black glass named "&2" to close then run [execute player command "/guisklepp"] format slot 26 of player with 1 of black glass named "&2" to close then run [execute player command "/guisklepp"] command /xbkat1: trigger: wait 5 tick execute player command "/xxbkat1" command /xbkat2: trigger: wait 5 tick execute player command "/xxbkat2" command /xbkat3: trigger: wait 5 tick execute player command "/xxbkat3" command /xbkat4: trigger: wait 5 tick execute player command "/xxbkat4" command /xbkat5: trigger: wait 5 tick execute player command "/xxbkat5" command /xbkat6: trigger: wait 5 tick execute player command "/xxbkat6" command /xbkat7: trigger: wait 5 tick execute player command "/xxbkat7" command /xbkat8: trigger: wait 5 tick execute player command "/xxbkat8" command /xbkatt1: trigger: wait 5 tick execute player command "/xxbkatt1" command /xbkatt2: trigger: wait 5 tick execute player command "/xxbkatt2" command /xbkatt3: trigger: wait 5 tick execute player command "/xxbkatt3" command /xbkatt4: trigger: wait 5 tick execute player command "/xxbkatt4" command /xbkatt5: trigger: wait 5 tick execute player command "/xxbkatt5" command /xbkatt6: trigger: wait 5 tick execute player command "/xxbkatt6" command /xbkatt7: trigger: wait 5 tick execute player command "/xxbkatt7" command /xbkatt8: trigger: wait 5 tick execute player command "/xxbkatt8"