Oxalist

Untitled

Mar 18th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.37 KB | None | 0 0
  1. command /ExplosiveShop [<text>]:
  2. trigger:
  3. if arg-1 is not set:
  4. wait 3 ticks
  5. open chest with 3 rows named "&8[&aM&8] &cExplosions" to player
  6. wait 3 ticks
  7. format slot 12 of player with tnt named "&cExplosion &7I" with lore "&7Click to purchase the &cExplosion &7Enchant||&b100 Shards" to close then run [make player execute "explosive"]
  8. format slot 13 of player with tnt named "&cExplosion &7II" with lore "&7Click to purchase the &cExplosion &7Enchant||&b1500 Shards" to close then run [make player execute "explosive2"]
  9. format slot 14 of player with tnt named "&cExplosion &7III" with lore "&7Click to purchase the &cExplosion &7Enchant||&b5000 Shards" to close then run [make player execute "explosive3"]
  10.  
  11. command /Shop [<text>]:
  12. trigger:
  13. if arg-1 is not set:
  14. wait 3 ticks
  15. open chest with 3 rows named "&c≫ &7Shop" to player
  16. wait 3 ticks
  17. format slot 0 of player with wood pickaxe named "&c≫ &7Efficiency I" with lore "||&c≫ &7Click to purchase the Efficency Enchant|| || &a$100" to close then run [make player execute "eff1"]
  18. format slot 1 of player with wood pickaxe named "&c≫ &7Efficiency II" with lore "||&c≫ &7Click to purchase the Efficency Enchant|| || &a$125" to close then run [make player execute "eff2"]
  19. format slot 2 of player with wood pickaxe named "&c≫ &7Efficiency III" with lore "||&c≫ &7Click to purchase the Efficency Enchant|| || &a$250" to close then run [make player execute "eff3"]
  20. format slot 3 of player with wood pickaxe named "&c≫ &7Efficiency IV" with lore "||&c≫ &7Click to purchase the Efficency Enchant|| || &a$400" to close then run [make player execute "eff4"]
  21. format slot 4 of player with wood pickaxe named "&c≫ &7Efficiency V" with lore "||&c≫ &7Click to purchase the Efficency Enchant|| || &a$500" to close then run [make player execute "eff5"]
  22. format slot 5 of player with wood pickaxe named "&c≫ &7Efficiency VI" with lore "||&c≫ &7Click to purchase the Efficency Enchant|| || &a$750" to close then run [make player execute "eff6"]
  23. format slot 6 of player with wood pickaxe named "&c≫ &7Efficiency VII" with lore "||&c≫ &7Click to purchase the Efficency Enchant|| || &a$1000" to close then run [make player execute "eff7"]
  24. format slot 7 of player with wood pickaxe named "&c≫ &7Efficiency VIII" with lore "||&c≫ &7Click to purchase the Efficency Enchant|| || &a$1250" to close then run [make player execute "eff8"]
  25. format slot 8 of player with wood pickaxe named "&c≫ &7Efficiency IX" with lore "||&c≫ &7Click to purchase the Efficency Enchant|| || &a$1400" to close then run [make player execute "eff9"]
  26. format slot 9 of player with wood pickaxe named "&c≫ &7Efficiency X" with lore "||&c≫ &7Click to purchase the Efficency Enchant|| || &a$2000" to close then run [make player execute "eff10"]
  27. format slot 25 of player with coal ore named "&c≫ &7Mines" with lore "||&c≫ &7Click to open the mines shop||" to close then run [make player execute "mines"]
  28. format slot 26 of player with emerald named "&c≫ &7Custom Enchants" with lore "||&c≫ &7Click to open the Custom Enchant shop||" to close then run [make player execute "explosiveshop"]
  29.  
  30. command /mines [<text>]:
  31. trigger:
  32. if arg-1 is not set:
  33. wait 3 ticks
  34. open chest with 3 rows named "&c≫ &7Mines" to player
  35. wait 3 ticks
  36. format slot 11 of player with coal ore named "&c≫ &7Coal Mine" with lore "&7Click to warp to the &cCoal Mine||&aUnlocked" to close then run [make player execute "warp coal"]
  37. format slot 12 of player with iron ore named "&c≫ &7Iron Mine" with lore "&7Click to purchase the &cIron Mine||&a$2500" to close then run [make player execute "minei"]
  38. format slot 13 of player with gold ore named "&c≫ &7Gold Mine" with lore "&7Click to purchase the &cGold Mine||&cDevelopment" to close then run [make player execute "mineg"]
  39. format slot 14 of player with diamond ore named "&c≫ &7Diamond Mine" with lore "&7Click to purchase the &cDiamond Mine||&cDevelopment" to close then run [make player execute "mined"]
  40. format slot 15 of player with emerald ore named "&c≫ &7Emerald Mine" with lore "&7Click to purchase the &cEmerald Mine||&cDevelopment" to close then run [make player execute "minee"]
  41. command /eff1:
  42. trigger:
  43. if player's balance is greater than 99:
  44. enchant the player's tool with efficiency 1
  45. remove 100 from player's balance
  46. send "&c≫ &7Bought Efficiency 1"
  47. stop
  48. else:
  49. send "&c≫ &7Not enough money"
  50.  
  51. command /eff2:
  52. trigger:
  53. if player's balance is greater than 124:
  54. enchant the player's tool with efficiency 2
  55. remove 125 from player's balance
  56. send "&c≫ &7Bought Efficiency 2"
  57. stop
  58. else:
  59. send "&c≫ &7Not enough money"
  60.  
  61. command /eff3:
  62. trigger:
  63. if player's balance is greater than 249:
  64. enchant the player's tool with efficiency 3
  65. remove 250 from player's balance
  66. send "&c≫ &7Bought Efficiency 3"
  67. stop
  68. else:
  69. send "&c≫ &7Not enough money"
  70.  
  71. command /eff4:
  72. trigger:
  73. if player's balance is greater than 399:
  74. enchant the player's tool with efficiency 4
  75. remove 400 from player's balance
  76. send "&c≫ &7Bought Efficiency 4"
  77. stop
  78. else:
  79. send "&c≫ &7Not enough money"
  80.  
  81. command /eff5:
  82. trigger:
  83. if player's balance is greater than 499:
  84. enchant the player's tool with efficiency 5
  85. remove 500 from player's balance
  86. send "&c≫ &7Bought Efficiency 5"
  87. stop
  88. else:
  89. send "&c≫ &7Not enough money"
  90.  
  91. command /eff6:
  92. trigger:
  93. if player's balance is greater than 749:
  94. enchant the player's tool with efficiency 6
  95. remove 750 from player's balance
  96. send "&c≫ &7Bought Efficiency 6"
  97. stop
  98. else:
  99. send "&c≫ &7Not enough money"
  100.  
  101. command /eff7:
  102. trigger:
  103. if player's balance is greater than 999:
  104. enchant the player's tool with efficiency 7
  105. remove 1000 from player's balance
  106. send "&c≫ &7Bought Efficiency 7"
  107. stop
  108. else:
  109. send "&c≫ &7Not enough money"
  110.  
  111. command /eff8:
  112. trigger:
  113. if player's balance is greater than 1249:
  114. enchant the player's tool with efficiency 8
  115. remove 1250 from player's balance
  116. send "&c≫ &7Bought Efficiency 8"
  117. stop
  118. else:
  119. send "&c≫ &7Not enough money"
  120.  
  121. command /eff9:
  122. trigger:
  123. if player's balance is greater than 1399:
  124. enchant the player's tool with efficiency 9
  125. remove 1400 from player's balance
  126. send "&c≫ &7Bought Efficiency 9"
  127. stop
  128. else:
  129. send "&c≫ &7Not enough money"
  130.  
  131. command /eff10:
  132. trigger:
  133. if player's balance is greater than 1999:
  134. enchant the player's tool with efficiency 10
  135. remove 2000 from player's balance
  136. send "&c≫ &7Bought Efficiency 10"
  137. stop
  138. else:
  139. send "&c≫ &7Not enough money"
  140.  
  141. command /minei:
  142. trigger:
  143. if player's balance is greater than 2499
  144. execute console command "pex user %player% add warp.iron"
  145. send "&c≫ &7Bought Iron Mine."
  146. else:
  147. send "&c≫ &7Not enough money"
  148.  
  149. command /explosive1:
  150. trigger:
  151. if player is not holding diamond pickaxe:
  152. send "&c≫ &7You must be holding a diamond pickaxe"
  153. stop
  154. if {shards::%player%} is less than 99:
  155. send "&c≫ &7You do not have enough shards to buy explosive 1"
  156. if {shards::%player%} is more than 99:
  157. send "&c≫ &7Successfully add explosive 1 to your pickaxe"
  158. remove 100 from {shards::%player%}
  159. set lore of player's tool to "&cExplosive I"
Add Comment
Please, Sign In to add comment