Kademek

TIMBoss

Jul 31st, 2016
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.93 KB | None | 0 0
  1. variables:
  2. {boss.spawn} = 0
  3. {boss.ilosc} = 1
  4.  
  5.  
  6. options:
  7. czas: 15 #po ilu minutach boss automatycznie ginie
  8.  
  9. every {@czas} real minutes:
  10. if {boss.ilosc} is 0:
  11. execute console command "killall monster"
  12. broadcast "&cMinelo 15 minut, a nikt nie zabil bossa!"
  13. broadcast "&c&4&lBOSS &czostal usuniety z mapy!"
  14. set {boss.ilosc} to 1
  15.  
  16.  
  17. command /boss [<text>]:
  18. trigger:
  19. if player has permissions "kupeczka.jest.noob":
  20. if player is op:
  21. if arg 1 is not set:
  22. send "&9&m------&8&8&m-&8}&8&m------&8> &4&lBOSS &8<&8&m------&8{&8&m-&9&m------"
  23. send " "
  24. send "&a/boss dark &7- spawnuje najsilniejszego boss'a ciemnosci!"
  25. send "&a/boss event &7- spawnuje bossa przeznaczonego na eventy!"
  26. send "&a/boss pigzombie &7- spawnuje bossa netheru - plomyka!"
  27. send "&a/boss easy &7- spawnuje latwego do zabicia bossa!"
  28. send "&a/boss zestaw &7- &cONLY ADMINS"
  29. else:
  30. send "&cBana chcesz?"
  31. else:
  32. send "&cBana chcesz?"
  33. if player has permissions "boss.easy":
  34. if player is op:
  35. if arg 1 is "easy":
  36. if {boss.ilosc} is 1:
  37. set {boss.ilosc} to 0
  38. set {boss.spawn} to location of player
  39. spawn zombie at the player
  40. set name of spawned entity to "&4&lPoziom: &a&lEASY"
  41. equip the spawned entity with all leather armour of protection 1
  42. set the spawned entity's max health to 10
  43. set tool of spawned entity to wooden sword of fire aspect 1
  44. heal the spawned entity
  45. apply fire resistance 9 to spawned entity for 1 days
  46. broadcast "&4&lBOSS &8» &7Narodzilem sie na kordynatach: &6%{boss.spawn}%"
  47. broadcast "&4&lBOSS &8» &7Nikt nie zdola mnie pokonac!"
  48. else:
  49. send "&cObecnie zyje juz jeden boss na kordynatach %{boss.spawn}%"
  50. else:
  51. send "&cBana chcesz?"
  52. else:
  53. send "&cBana chcesz?"
  54. if player has permissions "boss.medium":
  55. if player is op:
  56. if arg 1 is "medium":
  57. if {boss.ilosc} is 1:
  58. set {boss.ilosc} to 0
  59. set {boss.spawn} to location of player
  60. spawn skeleton at the player
  61. set name of spawned entity to "&4&lPoziom: &6&lMedium"
  62. equip the spawned entity with all chainmail armour of thorns 3 and protection 3
  63. set the spawned entity's max health to 40
  64. set tool of spawned entity to iron sword of sharpness 2 and fire aspect 1
  65. heal the spawned entity
  66. apply fire resistance 9 to spawned entity for 1 days
  67. apply haste 1 to spawned entity for 1 days
  68. broadcast "&4&lBOSS &8» &7Narodzilem sie na kordynatach: &6%{boss.spawn}%"
  69. broadcast "&4&lBOSS &8» &7Nikt nie zdola mnie pokonac!"
  70. else:
  71. send "&cObecnie zyje juz jeden boss na kordynatach %{boss.spawn}%"
  72. else:
  73. send "&cBana chcesz?"
  74. else:
  75. send "&cBana chcesz?"
  76. if player has permissions "kupeczka.mardek3.zrobil.bossa.xd":
  77. if player is op:
  78. if arg 1 is "event":
  79. if {boss.ilosc} is 1:
  80. set {boss.ilosc} to 0
  81. set {boss.spawn} to location of player
  82. spawn zombie at the player
  83. set name of last spawned entity to "&4&lBOSS - EVENT"
  84. equip the last spawned entity with all diamond armour of protection 4
  85. set the last spawned entity's max health to 120
  86. set tool of last spawned entity to diamond sword of sharpness 5 and fire aspect 2
  87. heal the last spawned entity
  88. apply speed to the last spawned entity for 999999 seconds
  89. apply fire resistance 9 to the last spawned entity for 99999 seconds
  90. broadcast "&4&lBOSS &8» &7Narodzilem sie na kordynatach: &6%{boss.spawn}%"
  91. broadcast "&4&lBOSS &8» &7Zabij mnie, a spotkaja cie niesamowite nagrody!"
  92. send "&aPamietaj, aby bossa ogrodzic by nie uciekl za daleko!"
  93. else:
  94. send "&cObecnie zyje juz jeden boss na kordynatach %{boss.spawn}%"
  95. else:
  96. send "&cBana chcesz?"
  97. else:
  98. send "&cBana chcesz?"
  99. if player has permissions "spawnmob.skieleton.mroczny.boss":
  100. if player is op:
  101. if arg 1 is "dark":
  102. if {boss.ilosc} is 1:
  103. set {boss.ilosc} to 0
  104. set {boss.spawn} to location of player
  105. spawn skeleton at the player
  106. set name of last spawned entity to "&4&lBOSS - DARK"
  107. set chestplate of last spawned entity to diamond chestplate of protection 4 and thorns 3
  108. set leggings of last spawned entity to diamond leggings of protection 4 and thorns 3
  109. set boots of last spawned entity to diamond boots of protection 4 and thorns 3
  110. set the last spawned entity's max health to 160
  111. set tool of last spawned entity to iron sword of sharpness 5 and fire aspect 2
  112. heal the last spawned entity
  113. apply fire resistance 9 to the last spawned entity for 99999 seconds
  114. apply speed to the last spawned entity for 99999 seconds
  115. apply haste to the last spawned entity for 9999 seconds
  116. broadcast "&4&lBOSS &8» &7Narodzilem sie na kordynatach: &6%{boss.spawn}%"
  117. broadcast "&4&lBOSS &8» &7Zabij mnie, a spotka cie wieczna chwala i slawa!"
  118. send "&aPamietaj aby bossa ogrodzic by nie uciekl za daleko!"
  119. else:
  120. send "&cObecnie zyje juz jeden boss na kordynatach: &6%{boss.spawn}%"
  121. else:
  122. send "&cBana chcesz?"
  123. else:
  124. send "&cBana chcesz?"
  125. if player has permissions "lol":
  126. if player is op:
  127. if arg 1 is "unbug":
  128. if {boss.ilosc} is 0:
  129. set {boss.ilosc} to 1
  130. send "&aOdbugowales Skrypt &4&lBOSS"
  131. else:
  132. send "&cSkrypt nie jest zbugowany!"
  133. if player has permissions "kupeczka.nie.dostaje.xd":
  134. if player is op:
  135. if arg 1 is "zestaw":
  136. add 1 diamond sword of sharpness 5 and fire aspect 2 named "&e&lWojowniczy miecz" with lore "&5&oWlasnosc: &6%player%" to player's inventory
  137. add 1 diamond helmet of protection 4 named "&e&lWojowniczy helm" with lore "&5&oWlasnosc: &6%player%" to player's inventory
  138. add 1 diamond leggings of protection 4 named "&e&lWojownicze spodnie" with lore "&5&oWlasnosc: &6%player%" to player's inventory
  139. add 1 diamond chestplate of protection 4 named "&e&lWojownicza klata" with lore "&5&oWlasnosc: &6%player%" to player's inventory
  140. add 1 diamond boots of protection 4 named "&e&lWojownicze buty" with lore "&5&oWlasnosc: &6%player%" to player's inventory
  141. add 32 322:1 named "&e&lWojownicze Jablka" with lore "&5&oWlasnosc: &6%player%" to player's inventory
  142. send "&4&lZAKAZ ROZDAWANIA TYCH ITEMOW GRACZOM!!!"
  143. else:
  144. send "&cBana chcesz?"
  145. else:
  146. send "&cBana chcesz?"
  147. if player has permissions "kupeczka.noobek.xd.kaktus.op":
  148. if player is op:
  149. if arg 1 is "pigzombie":
  150. if {boss.ilosc} is 1:
  151. set {boss.ilosc} to 0
  152. set {boss.spawn} to location of player
  153. spawn zombie at the player
  154. set name of spawned entity to "&4&lKING OF ZOMBIE"
  155. set the spawned entity's max health to 150
  156. set helmet of spawned entity to gold helmet of protection 4 and unbreaking 3 and thorns 3
  157. set chestplate of spawned entity to diamond chestplate of protection 4 and unbreaking 3 and thorns 3
  158. set leggings of spawned entity to gold leggings of protection 4 and unbreaking 3 and thorns 3
  159. set boots of spawned entity to gold boots of protection 4 and unbreaking 3 and thorns 3
  160. set tool of spawned entity to iron sword of sharpness 5 and fire aspect 2 and smite 5 and looting 2 and unbreaking 1
  161. heal the spawned entity
  162. apply fire resistance 9 to the spawned entity for 9999 seconds
  163. apply speed to the spawned entity for 9999 seconds
  164. apply jump boost 3 to the spawned entity for 9999 seconds
  165. broadcast "&4&lKING OF ZOMBIE &8» &7Narodzilem sie na kordynatach: &6%{boss.spawn}%"
  166. wait 7 real seconds
  167. broadcast "&4&lKING OF ZOMBIE &8» &7Nic mnie nie powstrzyma przed unicestwieniem tej planety!"
  168. wait 7 real seconds
  169. loop all players:
  170. send "&e&lWOJOWNICY&7, waszym zadaniem jest zabicie tego drania, jezeli wam sie nie uda, wszyscy MOZEMY zginac. Powodzenia!"
  171. apply speed to the loop-player for 999 seconds
  172. else:
  173. send "&cObecnie zyje juz jakis boss na kordynatach: &6%{boss.spawn}%"
  174. else:
  175. send "&cBana chcesz?"
  176. else:
  177. send "&cBana chcesz?"
  178.  
  179. on damage:
  180. if attacker is player:
  181. if name of victim is "&4&lPoziom: &a&lEasy":
  182. push the attacker backwards at speed 0.5
  183. damage attacker by 0.5 heart
  184.  
  185. on damage:
  186. if attacker is player:
  187. if name of victim is "&4&lPoziom: &6&lMedium":
  188. push the attacker backwards at speed 0.7
  189. damage attacker by 0.5 heart
  190. apply poison 2 to the attacker for 2 seconds
  191. on damage:
  192. if name of attacker is "&4&lPoziom: &6&lMedium":
  193. if victim is player:
  194. push the victim forwards at speed 0.2
  195. chance of 60%:
  196. damage victim by 0.75 heart
  197. chance of 40%:
  198. shoot an arrow from the victim
  199. damage victim by 1 heart
  200. chance of 20%:
  201. send "&4&lBOSS &8» &7Uzyl swojej specialnej mocy &cUsuwacz&7!" to victim
  202. push the victim backwards at speed 1.2
  203. apply blindness 2 to the victim for 15 seconds
  204. apply poison 2 to the victim for 6 seconds
  205. send "&cKrwawisz..." to victim
  206. loop 3 times:
  207. damage victim by 0.5 heart
  208. send "&aKrwawienie ustalo" to victim
  209.  
  210. on death of skeleton:
  211. if name of victim is "&4&lPoziom: &6&lMedium":
  212. set {boss.spawn} to 0
  213. set {boss.ilosc} to 1
  214. clear drops
  215. broadcast "&4&lBOSS &8» &7Nieee... zostalem zabity przez smiertelnika %attacker%!"
  216. wait 2 real seconds
  217. broadcast "&4&lBOSS &8» &7Ale pamietajcie, ja jeszcze tu wroce, miejscie sie na baczonosci!!"
  218. drop 1 chest of fortune 3 named "&cMagic Chest" with lore "&8Poziom: &63" at victim
  219. drop 1 chest of fortune 4 named "&cMagic Chest" with lore "&8Poziom: &e4" at victim
  220.  
  221. on death of zombie:
  222. if name of victim is "&4&lPoziom: &a&lEASY":
  223. set {boss.spawn} to 0
  224. set {boss.ilosc} to 1
  225. clear drops
  226. broadcast "&4&lBOSS &8» &7Nieee... zostalem zabity przez smiertelnika %attacker%!"
  227. wait 2 real seconds
  228. broadcast "&4&lBOSS &8» &7Ale pamietajcie, ja jeszcze tu wroce!!"
  229. drop 2 chest of fortune 3 named "&cMagic Chest" with lore "&8Poziom: &63" at victim
  230.  
  231. on damage:
  232. if attacker is player:
  233. if name of victim is "&4&lKING OF ZOMBIE":
  234. shoot an arrow from the attacker
  235. damage attacker by 0.25 heart
  236. wait 4 tick
  237. push the attacker backwards at speed 0.3
  238. chance of 20%:
  239. loop 1 times:
  240. spawn zombie at the attacker
  241. set name of spawned entity to "&4&lGuard King"
  242. set the spawned entity's max health to 15
  243. set tool of spawned entity to iron sword of sharpness 2
  244. set helmet of spawned entity to iron helmet of thorns 2 and protection 2
  245. set chestplate of spawned entity to iron chestplate of thorns 2 and protection 2
  246. heal the spawned entity
  247. apply speed to the spawned entity for 9999 seconds
  248. apply regeneration 2 to the spawned entity for 9999 seconds
  249. apply fire resistance 9 to the spawned entity for 9999 seconds
  250.  
  251. on damage:
  252. if name of attacker is "&4&lKING OF ZOMBIE":
  253. if victim is player:
  254. damage victim by 1.5 heart
  255. apply slowness to the attacker for 4 seconds
  256. apply wither to the attacker for 5 seconds
  257.  
  258. on death of zombie:
  259. if name of victim is "&4&lKING OF ZOMBIE":
  260. set {boss.spawn} to 0
  261. set {boss.ilosc} to 1
  262. drop 1 chest of fortune 6 named "&cMagic Chest" with lore "&8Poziom: &a6" at victim
  263. broadcast "&4&lKING OF ZOMBIE &8» &7Graaaaahhhhhh! Nie tylko nie to!"
  264. wait 7 real seconds
  265. broadcast "&4&lKING OF ZOMBIE &8» &7Jak moglem dac sie tak zalatwic, Jeszcze ja tu wróce!"
  266. wait 7 real seconds
  267. broadcast "&4&lKING OF ZOMBIE &8» &7MIEJCIE SIE NA BACZNOSCI!!!"
  268. wait 7 real seconds
  269. broadcast "&a&lGENERAL &8» &eGratuluje wam chlopcy! Jestescie nie samowici, pamietajcie ze nie ominie was nagroda!"
  270. loop all players:
  271. add 1 book named "&eGratulacje" with lore "&aOd Generala za pokonanie &4&lKING OF ZOMBIE" to loop-player's inventory
  272. add 3 diamond named "&eGratulacje" to loop-player's inventory
  273.  
  274. on damage:
  275. if attacker is player:
  276. if name of victim is "&4&lBOSS - EVENT":
  277. damage attacker by 0.5 heart
  278. chance of 60%:
  279. push the attacker upwards at speed 0.5
  280. push the attacker forwards at speed 0.4
  281. push the attacker backwards at speed 1.0
  282. chance of 20%:
  283. apply blindness 2 to the attacker for 3 seconds
  284. chance of 30%:
  285. poison the attacker for 120 seconds
  286. chance of 10%:
  287. apply confusion 255 to the attacker for 10 seconds
  288. chance of 10%:
  289. loop 1 times:
  290. spawn zombie at the attacker
  291. set the spawned entity's max health to 7
  292. set name of spawned entity to "&4&lGuard BOSS"
  293. set tool of spawned entity to gold sword of knockback 2 and fire aspect 2 and smite 5
  294. set chestplate of spawned entity to chainmail chestplate of thorns 3
  295. set helmet of spawned entity to chainmail helmet of thorns 3
  296. heal the spawned entity
  297. apply speed to the spawned entity for 999 seconds
  298. apply fire resistance 9 to the spawned entity for 9999 seconds
  299. send "&4&lBOSS &8» Uzyl swojej specjalnej mocy &cPogromca" to attacker
  300.  
  301. on death of zombie:
  302. if name of victim is "&4&lGuard BOSS":
  303. clear drops
  304.  
  305. on damage:
  306. if attacker is player:
  307. if name of victim is "&4&lGuard BOSS":
  308. damage attacker by 0.25 heart
  309. push the attacker backwards at speed 0.4
  310. apply hunger 1 to the attacker for 2 seconds
  311.  
  312. on damage:
  313. if name of attacker is "&4&lGuard BOSS":
  314. if victim is player:
  315. damage victim by 0.5 heart
  316.  
  317. on death of skeleton:
  318. if name of victim is "&4&lWYSLANNIK":
  319. clear drops
  320.  
  321.  
  322. on damage:
  323. if name of attacker is "&4&lBOSS - DARK":
  324. if victim is player:
  325. damage victim by 0.25 heart
  326. chance of 60%:
  327. push the victim upwards at speed 0.5
  328. push the victim forwards at speed 0.4
  329. push the victim backwards at speed 1.0
  330. apply slowness 2 to the victim for 2 seconds
  331. chance of 40%:
  332. shoot an arrow from the victim
  333. damage victim by 2 heart
  334. chance of 5%:
  335. send "&c&lBOSS - DARK &8» &7Uzyl swojej specjalnej mocy!" to victim
  336. damage victim by 2 heart
  337. apply blindness 2 to the victim for 2 seconds
  338. apply slowness 2 to the victim for 4 seconds
  339. apply poison 2 to the victim for 2 seconds
  340. push the victim upwards at speed 0.7
  341. push the victim backwards at speed 1.3
  342.  
  343. on damage:
  344. if attacker is player:
  345. if name of victim is "&4&lBOSS - DARK":
  346. push the attacker backwards at speed 0.4
  347. apply poison to the attacker for 2 seconds
  348. apply blindness to the attacker for 1 seconds
  349.  
  350. on death of skeleton:
  351. if name of victim is "&4&lBOSS - DARK":
  352. set {boss.spawn} to 0
  353. set {boss.ilosc} to 1
  354. drop 1 chest of fortune 6 named "&cMagic Chest" with lore "&8Poziom: &a6" at victim
  355. broadcast "&4&lBOSS DARK &8» &7Nie to nie mozliwe.... zostalem pokonany przez %attacker%!"
  356. wait 2 real seconds
  357. broadcast "&4&lBOSS DARK &8» &7Zniszcze twoj swiat!"
  358. wait 2 real seconds
  359. broadcast "&4&lBOSS DARK &8» &7Niech ta ziemia posmakuje ludzkiej krwi!!"
  360. wait 2 real seconds
  361. broadcast "&4&lBOSS DARK &8» &7Uzyl swojej specjalnej mocy &cZlodziej Dusz&7!"
  362. wait 2 real seconds
  363. loop all players:
  364. spawn skeleton at the loop-player
  365. set name of spawned entity to "&4&lWYSLANNIK"
  366. set tool of spawned entity to stick of fire aspect 2
  367. set the spawned entity's max health to 20
  368. set chestplate of spawned entity to gold chestplate of protection 2
  369. set leggings of spawned entity to gold leggings of protection 2
  370. set boots of spawned entity to gold boots of protection 2
  371. heal the spawned entity
  372. damage loop-player by 1 heart
  373. apply poison to the loop-player for 10 seconds
  374. broadcast "&4&lBOSS DARK &8» &7Moi poddani, zniszcze kazdego wojownika ktory stanie wam na drodze!"
  375.  
  376. on death of zombie:
  377. if name of victim is "&4&lBOSS - EVENT":
  378. set {boss.spawn} to 0
  379. set {boss.ilosc} to 1
  380. broadcast "&4&lBOSS &8» &7Nieeee... zostalem zabity przez smiertelnika - %attacker%!"
  381. broadcast "&4&lBOSS &8» &7Oto twoja nagroda"
  382. drop 32 diamond named "&c&lZabicie &4&lBOSS - EVENT" at victim
  383. drop 1 335 named "&fMleko" at victim
Advertisement
Add Comment
Please, Sign In to add comment