Advertisement
Cool_Colton

Shop

Jul 18th, 2020
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.07 KB | None | 0 0
  1. command /shop:
  2. trigger:
  3. create new gui with id "shop" with virtual chest named " §7-SHOP-" with 5 rows
  4. open gui with id "shop" to player
  5. format gui slot 20 of player with diamond sword named "&aGear" to run:
  6. create new gui with id "Gear" with virtual chest named " §8>-§4GEAR§8-<" with 3 rows:
  7. open gui with id "Gear" to player
  8. make gui slot 10 of player with diamond chestplate named "&31 life Armor" to run:
  9. create new gui with id "1lifeg" with virtual chest named " §8>-§41 LIFE GEAR§8-<" with 3 rows:
  10. open gui with id "1lifeg" to player
  11. make gui slot 10 of player with diamond chestplate named "&3Diamond Armor" to run:
  12. if player's balance is more than 100:
  13. give player diamond chestplate named "&3Diamond Chestplate"
  14. give player diamond chestplate named "&3Diamond Leggings"
  15. give player diamond chestplate named "&3Diamond Boots"
  16. give player diamond chestplate named "&3Diamond Helmet"
  17. remove 100 from player's balance
  18. make gui slot 12 of player with diamond sword named "&41 life Swords" to run:
  19. create new gui with id "1lifes" with virtual chest named " §8>-§41 LIFE SWORD§8-<" with 3 rows:
  20. open gui with id "1lifes" to player
  21. make gui slot 10 of player with diamond sword named "&3Diamond Sword" to run:
  22. if player's balance is more than 100:
  23. give player diamond chestplate named "&3Diamond Sword"
  24. remove 100 from player's balance
  25. make gui slot 14 of player with glowing diamond chestplate named "&3Permanent Armor" to run:
  26. create new gui with id "A" with virtual chest named " §8>-§4PERM ARMOR§8-<" with 3 rows:
  27. open gui with id "A" to player
  28. make gui slot 10 of player with diamond chestplate named "&3Diamond Armor" to run:
  29. if player's balance is more than 500:
  30. give player diamond chestplate named "&3Diamond Chestplate"
  31. give player diamond chestplate named "&3Diamond Leggings"
  32. give player diamond chestplate named "&3Diamond Boots"
  33. give player diamond chestplate named "&3Diamond Helmet"
  34. set {perm::armor::%player's uuid%} to "Diamond"
  35. remove 500 from player's balance
  36. make gui slot 12 of player with glowing diamond sword named "&4Permanent Swords" to run:
  37. create new gui with id "S" with virtual chest named " §8>-§4PERM SWORD§8-<" with 3 rows:
  38. open gui with id "S" to player
  39. make gui slot 10 of player with diamond sword named "&3Diamond Sword" to run:
  40. if player's balance is more than 500:
  41. give player diamond sword named "&3Diamond Sword"
  42. set {perm::sword::%player's uuid%} to "Diamond"
  43. remove 500 from player's balance
  44.  
  45.  
  46. on spawn:
  47. if {perm::armor::%player's uuid%} is "Diamond":
  48. give player diamond chestplate named "&3Diamond Chestplate"
  49. give player diamond chestplate named "&3Diamond Leggings"
  50. give player diamond chestplate named "&3Diamond Boots"
  51. give player diamond chestplate named "&3Diamond Helmet"
  52. if {perm::sword::%player's uuid%} is "Diamond":
  53. give player diamond sword named "&3Diamond Sword"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement