Advertisement
LukaMC59

Untitled

Nov 5th, 2017
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. on inventory click:
  2. if inventory name of player's current inventory is "&9Select A Kit:":
  3. cancel event
  4. if {clickedslot.%player%} is 13:
  5. player's balance is greater than 9:
  6. remove 10 from player's balance
  7. message "&9SkyPvP123 &8» &7You have bought a Starter Sword for &9$10"
  8. execute console command "menu grab %player% sword1"
  9. else:
  10. message "&9SkyPvP123 &8» &7You have to have atleast &9$10 &7to buy this!"
  11.  
  12. command shop:
  13. trigger:
  14. open chest with 3 rows named "&9Select A Kit:" to player
  15. format slot 13 of player with wooden sword named "&7Starter Sword" with lore "&7||&9Price &8» &7$10||&7" to set {clickedslot.%player%} to 13
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement