Advertisement
Guest1221

Untitled

Dec 31st, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.67 KB | None | 0 0
  1. on rightclick on sign:
  2. line 2 of the clicked block is "&3&l[Sell]"
  3. make player execute command "/sell"
  4. set line 3 to "&8» &b&lSell items &8«"
  5. on rightclick on sign:
  6. line 2 of the clicked block is "&3&l[Purchase]"
  7. make player execute command "/upgrade1"
  8. set line 3 to "&8» &b&lUpgrade x1 &8«"
  9. on rightclick on sign:
  10. line 2 of the clicked block is "&3&l[Purchase2]"
  11. make player execute command "/upgrade2"
  12. set line 3 to "&8» &b&lUpgrade x2 &8«"
  13. on rightclick on sign:
  14. line 2 of the clicked block is "&3&l[Purchase3]"
  15. make player execute command "/upgrade3"
  16. set line 3 to "&8» &b&lUpgrade x3 &8«"
  17. on rightclick on sign:
  18. line 2 of the clicked block is "&3&l[Purchase4]"
  19. make player execute command "/upgrade4"
  20. set line 3 to "&8» &b&lUpgrade x4 &8«"
  21. on rightclick on sign:
  22. line 2 of the clicked block is "&3&l[Purchase5]"
  23. make player execute command "/upgrade5"
  24. set line 3 to "&8» &b&lUpgrade x5 &8«"
  25. on rightclick on sign:
  26. line 2 of the clicked block is "&3&l[Purchase6]"
  27. make player execute command "/upgrade6"
  28. set line 3 to "&8» &b&lUpgrade x6 &8«"
  29. on rightclick on sign:
  30. line 2 of the clicked block is "&3&l[Purchase7]"
  31. make player execute command "/upgrade7"
  32. set line 3 to "&8» &b&lUpgrade x7 &8«"
  33. on rightclick on sign:
  34. line 2 of the clicked block is "&3&l[Purchase8]"
  35. make player execute command "/upgrade8"
  36. set line 3 to "&8» &b&lUpgrade x8 &8«"
  37. on rightclick on sign:
  38. line 2 of the clicked block is "&3&l[Purchase9]"
  39. make player execute command "/upgrade9"
  40. set line 3 to "&8» &b&lUpgrade x9 &8«"
  41. on rightclick on sign:
  42. line 2 of the clicked block is "&3&l[Purchase10]"
  43. make player execute command "/upgrade10"
  44. set line 3 to "&8» &b&lUpgrade x10 &8«"
  45. command /upgrade1:
  46. trigger:
  47. if player's balance is more than or equal to 200:
  48. remove 200 from player's balance
  49. send "&3» &aSuccess! you have purchased the upgrade"
  50. make console execute command "menu grab %player% upgrade1"
  51. stop
  52. else:
  53. send "&3» &cError! &cyou do not have enough money, you need &a$200"
  54. command /upgrade2:
  55. trigger:
  56. if player's balance is more than or equal to 400:
  57. remove 400 from player's balance
  58. send "&3» &aSuccess! you have purchased the upgrade"
  59. make console execute command "menu grab %player% upgrade2"
  60. stop
  61. else:
  62. send "&3» &cError! &cyou do not have enough money, you need &a$400"
  63. command /upgrade3:
  64. trigger:
  65. if player's balance is more than or equal to 800:
  66. remove 800 from player's balance
  67. send "&3» &aSuccess! you have purchased the upgrade"
  68. make console execute command "menu grab %player% upgrade3"
  69. stop
  70. else:
  71. send "&3» &cError! &cyou do not have enough money, you need &a$800"
  72. command /upgrade4:
  73. trigger:
  74. if player's balance is more than or equal to 1600:
  75. remove 1600 from player's balance
  76. send "&3» &aSuccess! you have purchased the upgrade"
  77. make console execute command "menu grab %player% upgrade4"
  78. stop
  79. else:
  80. send "&3» &cError! &cyou do not have enough money, you need &a$1600"
  81. command /upgrade5:
  82. trigger:
  83. if player's balance is more than or equal to 2400:
  84. remove 2400 from player's balance
  85. send "&3» &aSuccess! you have purchased the upgrade"
  86. make console execute command "menu grab %player% upgrade5"
  87. stop
  88. else:
  89. send "&3» &cError! &cyou do not have enough money, you need &a$2400"
  90. command /upgrade6:
  91. trigger:
  92. if player's balance is more than or equal to 3200:
  93. remove 3200 from player's balance
  94. send "&3» &aSuccess! you have purchased the upgrade"
  95. make console execute command "menu grab %player% upgrade6"
  96. stop
  97. else:
  98. send "&3» &cError! &cyou do not have enough money, you need &a$3200"
  99. command /upgrade7:
  100. trigger:
  101. if player's balance is more than or equal to 4000:
  102. remove 4000 from player's balance
  103. send "&3» &aSuccess! you have purchased the upgrade"
  104. make console execute command "menu grab %player% upgrade7"
  105. stop
  106. else:
  107. send "&3» &cError! &cyou do not have enough money, you need &a$4000"
  108. command /upgrade8:
  109. trigger:
  110. if player's balance is more than or equal to 4600:
  111. remove 4600 from player's balance
  112. send "&3» &aSuccess! you have purchased the upgrade"
  113. make console execute command "menu grab %player% upgrade8"
  114. stop
  115. else:
  116. send "&3» &cError! &cyou do not have enough money, you need &a$4600"
  117. command /upgrade9:
  118. trigger:
  119. if player's balance is more than or equal to 5200:
  120. remove 5200 from player's balance
  121. send "&3» &aSuccess! you have purchased the upgrade"
  122. make console execute command "menu grab %player% upgrade9"
  123. stop
  124. else:
  125. send "&3» &cError! &cyou do not have enough money, you need &a$5200"
  126. command /upgrade10:
  127. trigger:
  128. if player's balance is more than or equal to 5800:
  129. remove 5800 from player's balance
  130. send "&3» &aSuccess! you have purchased the upgrade"
  131. make console execute command "menu grab %player% upgrade10"
  132. stop
  133. else:
  134. send "&3» &cError! &cyou do not have enough money, you need &a$5800"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement