Advertisement
Guest User

Untitled

a guest
Jan 21st, 2020
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.63 KB | None | 0 0
  1. command /mobspawn [<text>]:
  2. trigger:
  3. if player is op:
  4. if arg 1 is "1":
  5. set {spawn.mob.1} to location of player
  6. send "Spawn 1"
  7. stop
  8. if arg 1 is "2":
  9. set {spawn.mob.2} to location of player
  10. send "Spawn 2"
  11. stop
  12. if arg 1 is "3":
  13. set {spawn.mob.4} to location of player
  14. send "Spawn 3"
  15. stop
  16. if arg 1 is "4":
  17. set {spawn.mob.3} to location of player
  18. send "Spawn 4"
  19. stop
  20. if arg 1 is "5":
  21. set {spawn.mob.5} to location of player
  22. send "Spawn 5"
  23. stop
  24. if arg 1 is "6":
  25. set {spawn.mob.6} to location of player
  26. send "Spawn 6"
  27. stop
  28. if arg 1 is "7":
  29. set {spawn.mob.7} to location of player
  30. send "Spawn 7"
  31. stop
  32. if arg 1 is "8":
  33. set {spawn.mob.8} to location of player
  34. send "Spawn 8"
  35. stop
  36. if arg 1 is "9":
  37. set {spawn.mob.9} to location of player
  38. send "Spawn 9"
  39. stop
  40. if arg 1 is "10":
  41. set {spawn.mob.10} to location of player
  42. send "Spawn 10"
  43. stop
  44. if arg 1 is "11":
  45. set {spawn.mob.11} to location of player
  46. send "Spawn 11"
  47. stop
  48. if arg 1 is "12":
  49. set {spawn.mob.12} to location of player
  50. send "Spawn 12"
  51. stop
  52. if arg 1 is "13":
  53. set {spawn.mob.13} to location of player
  54. send "Spawn 13"
  55. stop
  56. if arg 1 is "14":
  57. set {spawn.mob.14} to location of player
  58. send "Spawn 14"
  59. stop
  60. if arg 1 is "15":
  61. set {spawn.mob.15} to location of player
  62. send "Spawn 15"
  63. stop
  64. if arg 1 is "16":
  65. set {spawn.mob.16} to location of player
  66. send "Spawn 16"
  67. stop
  68.  
  69.  
  70. every 15 seconds:
  71. if health of {mob} > 0:
  72. stop
  73. if {spawn.mob.1} is set:
  74. spawn 1 zombie at {spawn.mob.1}
  75. set the spawned zombie's display name to "&2Ork &cLVL.1"
  76. set the last spawned entity's max health to 6
  77. heal the last spawned entity
  78. set tool of last spawned entity to stick
  79. set {mob} to last spawned entity
  80. every 15 seconds:
  81. if health of {mob1} > 0:
  82. stop
  83. if {spawn.mob.2} is set:
  84. spawn 1 zombie at {spawn.mob.2}
  85. set the spawned zombie's display name to "&2Ork &cLVL.1"
  86. set the last spawned entity's max health to 6
  87. heal the last spawned entity
  88. set tool of last spawned entity to stick
  89. set {mob1} to last spawned entity
  90. every 15 seconds:
  91. if health of {mob2} > 0:
  92. stop
  93. if {spawn.mob.3} is set:
  94. spawn 1 zombie at {spawn.mob.3}
  95. set the spawned zombie's display name to "&2Ork &cLVL.1"
  96. set the last spawned entity's max health to 6
  97. heal the last spawned entity
  98. set tool of last spawned entity to stick
  99. set {mob2} to last spawned entity
  100. every 15 seconds:
  101. if health of {mob3} > 0:
  102. stop
  103. if {spawn.mob.4} is set:
  104. spawn 1 zombie at {spawn.mob.4}
  105. set the spawned zombie's display name to "&2Ork &cLVL.1"
  106. set the last spawned entity's max health to 6
  107. heal the last spawned entity
  108. set tool of last spawned entity to stick
  109. set {mob3} to last spawned entity
  110. every 15 seconds:
  111. if health of {mob4} > 0:
  112. stop
  113. if {spawn.mob.5} is set:
  114. spawn 1 zombie at {spawn.mob.5}
  115. set the spawned zombie's display name to "&2Ork &cLVL.3"
  116. set the last spawned entity's max health to 8
  117. heal the last spawned entity
  118. set tool of last spawned entity to stick
  119. set {mob4} to last spawned entity
  120. every 15 seconds:
  121. if health of {mob5} > 0:
  122. stop
  123. if {spawn.mob.6} is set:
  124. spawn 1 zombie at {spawn.mob.6}
  125. set the spawned zombie's display name to "&2Ork &cLVL.3"
  126. set the last spawned entity's max health to 8
  127. heal the last spawned entity
  128. set tool of last spawned entity to stick
  129. set {mob5} to last spawned entity
  130. every 15 seconds:
  131. if health of {mob6} > 0:
  132. stop
  133. if {spawn.mob.7} is set:
  134. spawn 1 zombie at {spawn.mob.7}
  135. set the spawned zombie's display name to "&2Ork &cLVL.3"
  136. set the last spawned entity's max health to 8
  137. heal the last spawned entity
  138. set tool of last spawned entity to stick
  139. set {mob6} to last spawned entity
  140. every 15 seconds:
  141. if health of {mob7} > 0:
  142. stop
  143. if {spawn.mob.8} is set:
  144. spawn 1 zombie at {spawn.mob.8}
  145. set the spawned zombie's display name to "&2Ork &cLVL.3"
  146. set the last spawned entity's max health to 8
  147. heal the last spawned entity
  148. set tool of last spawned entity to stick
  149. set {mob7} to last spawned entity
  150. every 15 seconds:
  151. if health of {mob8} > 0:
  152. stop
  153. if {spawn.mob.9} is set:
  154. spawn 1 zombie at {spawn.mob.9}
  155. set the spawned zombie's display name to "&2Ork &cLVL.7"
  156. set the last spawned entity's max health to 10
  157. heal the last spawned entity
  158. set tool of last spawned entity to stick
  159. set {mob8} to last spawned entity
  160. every 15 seconds:
  161. if health of {mob9} or {mob10} > 0:
  162. stop
  163. if {spawn.mob.10} is set:
  164. spawn 1 zombie at {spawn.mob.10}
  165. set the spawned zombie's display name to "&2Ork &cLVL.7"
  166. set the last spawned entity's max health to 10
  167. heal the last spawned entity
  168. set tool of last spawned entity to stick
  169. set {mob9} to last spawned entity
  170. if {spawn.mob.11} is set:
  171. spawn 1 zombie at {spawn.mob.11}
  172. set the spawned zombie's display name to "&2Ork &cLVL.7"
  173. set the last spawned entity's max health to 10
  174. heal the last spawned entity
  175. set tool of last spawned entity to stick
  176. set {mob10} to last spawned entity
  177. every 15 seconds:
  178. if health of {mob11} > 0:
  179. stop
  180. if {spawn.mob.12} is set:
  181. spawn 1 zombie at {spawn.mob.12}
  182. set the spawned zombie's display name to "&cGenerał &2Orków"
  183. set the last spawned entity's max health to 10
  184. heal the last spawned entity
  185. set tool of last spawned entity to stone sword
  186. set {mob11} to last spawned entity
  187.  
  188.  
  189.  
  190.  
  191.  
  192. on combust:
  193. event-entity is zombie:
  194. cancel event
  195. event-entity is drowned:
  196. cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement