Advertisement
Guest User

a

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