Advertisement
LukaMC59

Untitled

Nov 9th, 2017
333
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. command shop:
  2. trigger:
  3. open chest with 3 rows named "&9Select A Kit:" to player
  4. format slot 13 of player with wooden sword named "&7Starter Sword" with lore "&7||&9Price &8» &7$10||&7" to close then run [set {clickedslot.%player%} to 13]
  5.  
  6. on inventory click:
  7. clicked slot is 13:
  8. if player's balance is greater than 9:
  9. message "&9SkyPvP &8» &7You've bought a Starter Sword"
  10. remove 10 from player's balance
  11. else
  12. message "&9SkyPvP123 &8» &cYou need atleast $10 to buy this!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement