Guest User

Untitled

a guest
Jun 1st, 2019
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.88 KB | None | 0 0
  1. variables:
  2. {mission1.progress::%player%} = 0
  3. {mission2.progress::%player%} = 0
  4. {mission2.received::%player%} = false
  5. {mission2.done::%player%} = false
  6. {mission3.progress::%player%} = 0
  7. {mission3.received::%player%} = false
  8. {mission3.done::%player%} = false
  9. {mission4.done::%player%} = false
  10. {mission4.received::%player%} = false
  11. {mission4.progress::%player%} = 0
  12. {mission5.done::%player%} = false
  13. {mission5.progress::%player%} = 0
  14. {mission5.received::%player%} = false
  15. {mission6.received::%player%} = false
  16. {mission6.progress::%player%} = 0
  17. {mission6.done::%player%} = false
  18. {mission3.locked::%player%} = false
  19. {mission::%player%} = 0
  20. {balance::%player%} = 0
  21.  
  22.  
  23. command /balance:
  24. aliases: /bal, /money, /essentials:bal, /ebal, /emoney, /essentials:money
  25. trigger:
  26. send "&3Your balance is &b%{balance::%player%}%$" to player
  27. stop
  28.  
  29. on right click on Zombie:
  30. if name of entity is "&2&lZombie Traveler":
  31. if {mission::%player%} = 0:
  32. if {mission1.done::%player%} = false:
  33. if {mission1.progress::%player%} < 10:
  34. send "&a&oZombie Traveler&2&o: &7Hello, are you new?" to player
  35. wait 4 seconds
  36. send "&a&oZombie Traveler&2&o: &7Because I have a mission for you.. And if you show me you can do it, we can move on to the next ones!" to player
  37. wait 4 seconds
  38. send "&a&oZombie Traveler&2&o: &7Kill &610 Zombies with level 2 &7and then come back to me! I believe in you!" to player
  39. set {mission::%player%} to 1
  40. set {mission1.done::%player%} to false
  41. else if {mission::%player%} = 1:
  42. if {mission1.done::%player%} = false:
  43. if {mission1.progress::%player%} < 10:
  44. send "&8&m------>------<" to player
  45. send "&2Active mission: &6Kill 10 zombies with level 2" to player
  46. send "&2Killed: &6%{mission1.progress::%player%}% &2out of &610 Zombies with level 2" to player
  47. send "&8&m------>------<" to player
  48. stop
  49. if {mission1.progress::%player%} = 10:
  50. send "&a&oZombie Traveler&2&o: &7You did it? Good job!" to player
  51. wait 4 seconds
  52. send "&a&oZombie Traveler&2&o: &7Although there's even more to find out about, here, take your reward!" to player
  53. wait 2 seconds
  54. add 500 to {balance::%player%}
  55. send "&3500$ &7added to your balance" to player
  56. set {mission1.done::%player%} to true
  57. set {mission1::%player%} to false
  58. set {mission::%player%} to 2
  59. stop
  60. else if {mission::%player%} = 2:
  61. if {mission2.done::%player%} = false:
  62. if {mission2.progress::%player%} < 1:
  63. if {mission2.received::%player%} = false:
  64. send "&a&oZombie Traveler&2&o: &7Hello, once again, adventurer." to player
  65. wait 4 seconds
  66. send "&a&oZombie Traveler&2&o: &7Lately, there has been news, that a &2Zombie Boss &7exists, and rules every Zombie." to player
  67. wait 4 seconds
  68. send "&a&oZombie Traveler&2&o: &7I want you to kill him, and make this land peaceful again! I believe in you!" to player
  69. set {mission2.received::%player%} to true
  70. stop
  71. else:
  72. send "&8&m------>------<" to player
  73. send "&2Active mission: &6Kill the &2Zombie Boss &6once" to player
  74. send "&2Killed: &6%{mission2.progress::%player%}% bosses &2out of &61 Zombie Boss" to player
  75. send "&8&m------>------<" to player
  76. stop
  77. else if {mission2.progress::%player%} = 1:
  78. send "&a&oZombie Traveler&2&o: &7You did it? I can't believe it!" to player
  79. wait 4 seconds
  80. send "&a&oZombie Traveler&2&o: &7Finally, now these lands can be peaceful!" to player
  81. wait 4 seconds
  82. send "&a&oZombie Traveler&2&o: &7You deserve a reward! Here, take it!" to player
  83. wait 2 seconds
  84. add 2000 to {balance::%player%}
  85. give 1 diamond sword of sharpness 10 and unbreaking 10 and smite 10 named "&6&lZombie Traveler's Axe" with lore "&2For keeping our lands safe!" to player
  86. send "&6| Rewards |" to player
  87. send "&3+2000$ &7added to your balance." to player
  88. send "&7You've received &3a weapon&7!" to player
  89. send "&6| Rewards |" to player
  90. set {mission::%player%} to 3
  91. set {mission2.progress::%player%} to 0
  92. set {mission2.done::%player%} to true
  93. stop
  94. else if {mission::%player%} = 3:
  95. if {mission3.done::%player%} = false:
  96. if {mission3.progress::%player%} < 16:
  97. if {mission3.received::%player%} = false:
  98. send "&a&oZombie Traveler&2&o: &7We met once again, adventurer." to player
  99. wait 4 seconds
  100. send "&a&oZombie Traveler&2&o: &7Recently, we found a new land named &2Savage Land" to player
  101. wait 4 seconds
  102. send "&a&oZombie Traveler&2&o: &7I want you to go there, explore, and wipe out &616 Savage Golems Lvl.4" to player
  103. wait 4 seconds
  104. send "&a&oZombie Traveler&2&o: &7Good luck!" to player
  105. set {mission3.received::%player%} to true
  106. stop
  107. else:
  108. send "&8&m------>------<" to player
  109. send "&2Active mission: &6Kill &216 Savage Golems &6of &2Lvl.6" to player
  110. send "&2Killed: &6%{mission3.progress::%player%}% &2Savage Golems &2out of &616 Savage Golems of Lvl.4" to player
  111. send "&8&m------>------<" to player
  112. stop
  113. else if {mission3.progress::%player%} = 16:
  114. send "&a&oZombie Traveler&2&o: &7You did it? I am very proud of you!" to player
  115. wait 4 seconds
  116. send "&a&oZombie Traveler&2&o: &7To help you out in next troubles, I'll give you a good weapon!" to player
  117. wait 2 seconds
  118. give 1 diamond sword of sharpness 12 and smite 10 and fire aspect 1 and unbreaking 10 named "&6&lSavage Sword of the Zombie Traveler" with lore "&3Everything is possible with this sword!" to player
  119. send "&7You've received &3a weapon&7!" to player
  120. set {mission::%player%} to 4
  121. set {mission3.progress::%player%} to 0
  122. set {mission3.done::%player%} to true
  123. stop
  124. else if {mission::%player%} = 4:
  125. if {mission4.done::%player%} = false:
  126. if {mission4.progress::%player%} < 1:
  127. if {mission4.received::%player%} = false:
  128. send "&a&oZombie Traveler&2&o: &7Oh, hi once again!" to player
  129. wait 4 seconds
  130. send "&a&oZombie Traveler&2&o: &7I know that you're now strong enough to beat..." to player
  131. wait 4 seconds
  132. send "&a&oZombie Traveler&2&o: &7The &6Savage Boss&7!" to player
  133. wait 4 seconds
  134. send "&a&oZombie Traveler&2&o: &7If you can beat him, come back to me for a reward! I believe in you!" to player
  135. set {mission4.received::%player%} to true
  136. stop
  137. else:
  138. send "&8&m------>------<" to player
  139. send "&2Active mission: &6Kill the &6Savage Boss &6once" to player
  140. send "&2Killed: &6%{mission4.progress::%player%}% bosses &2out of &61 Savage Boss" to player
  141. send "&8&m------>------<" to player
  142. stop
  143.  
  144. else if {mission4.progress::%player%} = 1:
  145. send "&a&oZombie Traveler&2&o: &7Adventurer, I didn't expect you to be that powerful.. Now I have a lot of respect for you!" to player
  146. wait 4 seconds
  147. send "&a&oZombie Traveler&2&o: &7Take my &2Chestplate &7and some &3money &7for a reward!" to player
  148. wait 2 seconds
  149. add 10000 to {balance::%player%}
  150. give 1 diamond chestplate of protection 16 and unbreaking 10 and thorns 2 named "&2&lZombie Traveler's Chestplate" to player
  151. send "&6| Rewards |" to player
  152. send "&3+10.000$ &7added to your balance." to player
  153. send "&7You've received a &2Zombie Traveler's &2Chestplate&7!" to player
  154. send "&6| Rewards |" to player
  155. set {mission::%player%} to 5
  156. set {mission4.progress::%player%} to 0
  157. set {mission4.done::%player%} to true
  158. stop
  159. else if {mission::%player%} = 5:
  160. if {mission5.done::%player%} = false:
  161. if {mission5.progress::%player%} < 20:
  162. if {mission5.received::%player%} = false:
  163. send "&a&oZombie Traveler&2&o: &7Another quest is another, new challenge.. Now I want you to go &bSnow Land &7and kill &b20 Snowman &bLvl. 2. I believe in you!" to player
  164. set {mission5.received::%player%} to true
  165. stop
  166. else:
  167. send "&8&m------>------<" to player
  168. send "&2Active mission: &bKill &b20 Snowmans &6of &bLvl. 2" to player
  169. send "&2Killed: &6%{mission5.progress::%player%}% &bSnowmans &2out of &b20 Snowmans of Lvl.5" to player
  170. send "&8&m------>------<" to player
  171. stop
  172. else if {mission5.progress::%player%} = 20:
  173. send "&a&oZombie Traveler&2&o: &7Once again, I'm amazed with your skills, adventurer." to player
  174. wait 4 seconds
  175. send "&a&oZombie Traveler&2&o: &7Well, it's time for a reward!" to player
  176. wait 2 seconds
  177. add 5000 to {balance::%player%}
  178. send "&3+5000$ &7added to your balance." to player
  179. set {mission::%player%} to 6
  180. set {mission5.progress::%player%} to 0
  181. set {mission5.done::%player%} to true
  182. stop
  183. else if {mission::%player%} = 6:
  184. if {mission6.done::%player%} = false:
  185. if {mission6.progress::%player%} < 20:
  186. if {mission6.received::%player%} = false:
  187. send "&a&oZombie Traveler&2&o: &7While you were fighting these zombies, I found a &bSnowman Boss &7wandering around his &bIgloo&7. I want you to go kill him, and show how powerful you are! I believe in you!" to player
  188. set {mission6.received::%player%} to true
  189. stop
  190. else:
  191. send "&8&m------>------<" to player
  192. send "&2Active mission: &bKill &b1 Snowman Boss" to player
  193. send "&2Killed: &6%{mission6.progress::%player%}% &bSnowman Bosses &2out of &b1 Snowman Boss" to player
  194. send "&8&m------>------<" to player
  195. stop
  196. else if {mission6.progress::%player%} = 1:
  197. send "&a&oZombie Traveler&2&o: &7Wow, adventurer. You're even more powerful than me, now. Now I need to give you the best rewards I have... hmm.. Take that!" to player
  198. wait 2 seconds
  199. add 20000 to {balance::%player%}
  200. give 1 diamond axe of unbreaking 10 and sharpness 25 and smite 16 named "&b&lSnow Axe" with lore "&7For his majesty, &b%player%&7." to player
  201. send "&6| Rewards |" to player
  202. send "&3+20.000$ &7added to your balance." to player
  203. send "&7You've received &3an axe&7!" to player
  204. send "&6| Rewards |" to player
  205. set {mission::%player%} to 7
  206. set {mission6.done::%player%} to true
  207. set {mission6.progress::%player%} to 0
  208. stop
Advertisement
Add Comment
Please, Sign In to add comment