Advertisement
LukaMC59

Untitled

Nov 5th, 2017
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 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. clicked slot > 12
  5. clicked slot < 14
  6. player's balance is greater than 9:
  7. remove 10 from player's balance
  8. message "&9SkyPvP123 &8» &7You have bought a Starter Sword for &9$10"
  9. execute console command "menu grab %player% sword1"
  10. else:
  11. message "&9SkyPvP123 &8» &7You have to have atleast &9$10 &7to buy this!"
  12.  
  13. command shop:
  14. trigger:
  15. open chest with 3 rows named "&9Select A Kit:" to player
  16. format slot 13 of player with wooden sword named "&7Starter Sword" with lore "&7||&9Price &8» &7$10||&7" to close
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement