Advertisement
LukaMC59

Untitled

Nov 12th, 2017
351
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. command /shop:
  2. trigger:
  3. wait 3 ticks
  4. open chest with 3 rows named " &9Shop" to player
  5. wait 3 ticks
  6. format slot 13 of player with cobblestone named "&7Wooden Sword &8[&91&8]" with lore "||&7$10||" to close then run [execute player command "/sword1"]
  7.  
  8. command /sword1:
  9. trigger:
  10. if player's balance is less than 10:
  11. message "&9SkyPvP&8 »&7 You need atleast $10 to buy this!"
  12. else:
  13. remove 10 from player's balance
  14. execute console command "menu grab %player% sword1"
  15. message "&9SkyPvP &8» &7You have bought Tier 1 sword for $10"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement