Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command shop:
- trigger:
- send "&bOpening the shop.."
- wait 10 ticks
- open virtual chest inventory with size 3 named "&b&lSHOP" to player
- format gui slot 11 of player with stone named "&b&lBLOCKS" with lore "&7Click here to open the blocks gui." to run:
- open virtual chest inventory with size 3 named "&b&lBLOCKS" to player
- format gui slot 11 of player with stone named "&b&lWORKS" with lore "&7YAY."
- format gui slot 12 of player with diamond sword named "&b&lTOOLS" with lore "&7Click here to open the tools gui." to run:
- open virtual chest inventory with size 3 named "&b&lTOOLS" to player
- format gui slot 11 of player with stone named "&b&lWORKS" with lore "&7YAY."
- format gui slot 13 of player with enchantment table named "&e&kl &5&lENCHANT &e&kl" with lore "&7Click here to open the enchant gui." to run:
- open virtual chest inventory with size 3 named "&5&lENCHANT" to player
- format gui slot 11 of player with stone named "&b&lWORKS" with lore "&7YAY."
- format gui slot 14 of player with white stained glass named "&f&lGENERATORS" with lore "&7Click here to open the generators gui." to run:
- open virtual chest inventory with size 3 named "&b&lGENERATORS" to player
- format gui slot 11 of player with white stained glass named "&f&lBasic Generator" with lore "&a$250" to run:
- if player's balance >= 250:
- remove 250 from player's balance
- give player white stained glass named "&f&lBasic Generator" with lore "&7Right-Click to generate."
- send "&bYou have been given 1 Basic Generator and $250 has been revoked from your balance."
- else:
- send "&cYou do not have enough money!"
- format gui slot 15 of player with red wool named "&c&lRAIDING" with lore "&7Click here to open the raiding gui." to run:
- open virtual chest inventory with size 3 named "&b&lGENERATORS" to player
- format gui slot 11 of player with stone named "&b&lWORKS" with lore "&7YAY."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement