LukaMC59

Untitled

Nov 9th, 2017
268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. Options:
  2. 1 : 1
  3. 2 : 2
  4. 3 : 3
  5. 4 : 4
  6. 5 : 5
  7. 6 : 6
  8. 7 : 7
  9. 8 : 8
  10. 9 : 9
  11. 10 : 10
  12. 11 : 11
  13. 12 : 12
  14. 13 : 13
  15. 14 : 14
  16. 15 : 15
  17. 16 : 16
  18. 17 : 17
  19. 18 : 18
  20. 19 : 19
  21. 20 : 20
  22. 21 : 21
  23. 22 : 22
  24. 23 : 23
  25. 24 : 24
  26. 25 : 25
  27. 26 : 26
  28.  
  29. command shop:
  30. trigger:
  31. open chest with 3 rows named "&9Select A Kit:" to player
  32. format slot 13 of player's current inventory with a wooden sword named "&7Starter Sword" with lore "&7||&9Price &8» &7$10||&7" to be unstealable
  33.  
  34. on inventory click:
  35. if clicked slot is {13}:
  36. if player's balance is greater than 9:
  37. message "&9SkyPvP &8» &7You've bought a Starter Sword"
  38. remove 10 from player's balance
  39. execute console command "menu grab sword1 %player%"
  40. else:
  41. message "&9SkyPvP123 &8» &cYou need atleast $10 to buy this!"
Add Comment
Please, Sign In to add comment