Advertisement
Guest User

a

a guest
Nov 12th, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.79 KB | None | 0 0
  1. command /xpshop:
  2. trigger:
  3. open chest with 3 rows named "&3&lXPSHOP" to player
  4. loop integers from 0 to 27:
  5. make gui slot loop-integer of player with black stained glass pane named "&7" to run:
  6. execute player command "/xpshop"
  7. make gui slot 10 of player with 4 experience bottle named "&3&l4 XP LEVELS" with lore "&3Cost: &b20,000" to run:
  8. if player's balance >= 20000:
  9. add 4 to player's level
  10. remove 20000 from player's balance
  11. else:
  12. send "&cYou do not have enough money to buy that."
  13. make gui slot 11 of player with 8 experience bottle named "&3&l8 XP LEVELS" with lore "&3Cost: &b40,000" to run:
  14. if player's balance >= 40000:
  15. add 8 to player's level
  16. remove 40000 from player's balance
  17. else:
  18. send "&cYou do not have enough money to buy that."
  19. make gui slot 12 of player with 16 experience bottle named "&3&l16 XP LEVELS" with lore "&3Cost: &b80,000" to run:
  20. if player's balance >= 80000:
  21. add 16 to player's level
  22. remove 20000 from player's balance
  23. else:
  24. send "&cYou do not have enough money to buy that."
  25. make gui slot 13 of player with 32 experience bottle named "&3&l32 XP LEVELS" with lore "&3Cost: &b160,000" to run:
  26. if player's balance >= 160000:
  27. add 32 to player's level
  28. remove 160000 from player's balance
  29. else:
  30. send "&cYou do not have enough money to buy that."
  31. make gui slot 14 of player with 64 experience bottle named "&3&l64 XP LEVELS" with lore "&3Cost: &b320,000" to run:
  32. if player's balance >= 320000:
  33. add 64 to player's level
  34. remove 320000 from player's balance
  35. else:
  36. send "&cYou do not have enough money to buy that."
  37. make gui slot 15 of player with 128 experience bottle named "&3&l128 XP LEVELS" with lore "&3Cost: &b640,000" to run:
  38. if player's balance >= 640000:
  39. add 128 to player's level
  40. remove 640000 from player's balance
  41. else:
  42. send "&cYou do not have enough money to buy that."
  43. make gui slot 16 of player with 256 experience bottle named "&3&l256 XP LEVELS" with lore "&3Cost: &b1,280,000" to run:
  44. if player's balance >= 1280000:
  45. add 256 to player's level
  46. remove 1280000 from player's balance
  47. else:
  48. send "&cYou do not have enough money to buy that."
  49.  
  50. command /blackmarket:
  51. aliases: /bm
  52. trigger:
  53. open chest with 6 rows named "&3&lBLACKMARKET" to player
  54. loop integers from 0 to 64:
  55. make gui slot loop-integer of player with black stained glass pane named "&7" run:
  56. execute player command "/bm"
  57. make gui slot 4 of player with obsidian named "&b&lMINERALS"
  58. make gui slot 10 of player with 64 coal item named "&7&lCOAL" with lore "&3Cost: &b5,000" to run:
  59. if player's balance >= 5000:
  60. if player has enough space for coal:
  61. give player 64 coal item
  62. remove 5000 from player's balance
  63. else:
  64. close player's inventory
  65. send "&cYour inventory does not have enough space."
  66. else:
  67. send "&cYou do not have enough money to buy that."
  68. make gui slot 11 of player with 64 iron ingot named "&7&lIRON" with lore "&3Cost: &b10,000" to run:
  69. if player's balance >= 10000:
  70. if player has enough space for iron ingot:
  71. give player 64 iron ingot
  72. remove 10000 from player's balance
  73. else:
  74. close player's inventory
  75. send "&cYour inventory does not have enough space."
  76. else:
  77. send "&cYou do not have enough money to buy that."
  78. make gui slot 12 of player with 64 diamond named "&b&lDIAMOND" with lore "&3Cost: &b20,000" to run:
  79. if player's balance >= 20000:
  80. if player has enough space for diamond:
  81. give player 64 diamond
  82. remove 20000 from player's balance
  83. else:
  84. close player's inventory
  85. send "&cYour inventory does not have enough space."
  86. else:
  87. send "&cYou do not have enough money to buy that."
  88. make gui slot 13 of player with 64 emerald named "&a&lEMERALD" with lore "&3Cost: &b50,000" to run:
  89. if player's balance >= 50000:
  90. if player has enough space for emerald:
  91. give player 64 emerald
  92. remove 50000 from player's balance
  93. else:
  94. close player's inventory
  95. send "&cYour inventory does not have enough space."
  96. else:
  97. send "&cYou do not have enough money to buy that."
  98. make gui slot 14 of player with 64 lapis lazuli named "&9&lLAPIS" with lore "&3Cost: &b75,000" to run:
  99. if player's balance >= 75000:
  100. if player has enough space for lapis lazuli:
  101. give player 64 lapis lazuli
  102. remove 75000 from player's balance
  103. else:
  104. close player's inventory
  105. send "&cYour inventory does not have enough space."
  106. else:
  107. send "&cYou do not have enough money to buy that."
  108. make gui slot 15 of player with 64 redstone dust named "&c&lREDSTONE" with lore "&3Cost: &b80,000" to run:
  109. if player's balance >= 80000:
  110. if player has enough space for redstone dust:
  111. give player 64 redstone dust
  112. remove 80000 from player's balance
  113. else:
  114. close player's inventory
  115. send "&cYour inventory does not have enough space."
  116. else:
  117. send "&cYou do not have enough money to buy that."
  118. make gui slot 16 of player with 64 obsidian named "&8&lOBSIDIAN" with lore "&3Cost: &b100,000" to run:
  119. if player's balance >= 100000:
  120. if player has enough space for obsidian:
  121. give player 64 obsidian
  122. remove 100000 from player's balance
  123. else:
  124. close player's inventory
  125. send "&cYour inventory does not have enough space."
  126. else:
  127. send "&cYou do not have enough money to buy that."
  128. make gui slot 22 of player with gray stained glass pane named "&b&lCOMING SOON" to run:
  129. execute player command "/bm"
  130. make gui slot 40 of player with gray stained glass pane named "&b&lCOMING SOON" to run:
  131. execute player command "/bm"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement