AdamGrzegorz

EvolvedZombie Skript :> 2

Sep 16th, 2014
306
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.57 KB | None | 0 0
  1. #Skojarzylo mi sie to z ... Zombiakiem xd
  2.  
  3.  
  4.  
  5. # ZOMBIE BOSS
  6. on damage:
  7. victim is zombie or giant:
  8. set {_los} to random integer between 1 and 20
  9. set {_loscrit} to random integer between 1 and 20
  10. set {_losdamage} to random integer between 1 and 5
  11. if {_los} is {_loscrit}:
  12. damage victim by {_losdamage} hearts
  13. wait a tick
  14. send "&4KRYTYCZNE OBRAZENIA!" to attacker
  15. send "&4ZADALES &c%{_losdamage}% HP &4ZOMBIAKOWI" to attacker
  16. victim is zombie:
  17. attacker is player:
  18. chance of 5%:
  19. broadcast "&4&k;;;; &cZombie na koordynatach %location of victim% ewoluowal! &4&k;;;;"
  20. strike lightning effect at the victim
  21. create an explosion of force 30 at the victim
  22. show mob spawner flames at the victim
  23. spawn 1 giant at the victim
  24. log "Na koordynatach %location of victim% ostatnio pojawil sie Ewoluowany Gigant!" to "giants"
  25. poison the attacker for 10 seconds
  26. apply Strength 5 to last spawned giant for 9999999 minutes
  27. apply Speed 10 to last spawned giant for 9999999 minutes
  28. stop
  29. victim is giant:
  30. attacker is player:
  31. set {_lospush} to random integer between 1 and 20
  32. set {_lospushx} to random integer between 1 and 20
  33. set {_loszombiepush} to random integer between 1 and 10
  34. set {_loszombiepushx} to random integer between 1 and 10
  35. if {_lospush} is {_lospushx}:
  36. push the attacker in direction of victim with speed 5.0
  37. loop 10 times:
  38. shoot a zombie from the victim
  39. stop
  40. if {_loszombiepush} is {_loszombiepushx}:
  41. push the victim in direction of attacker with speed 5.0
  42. loop 10 times:
  43. shoot a zombie from the victim
  44. stop
  45. chance of 5%:
  46. send "&4Gigantyczny Zombie uzyl mocy > &cNIEWIDZIALNOSC!" to attacker
  47. apply invisibility to victim giant for 5 seconds
  48. stop
  49. chance of 5%:
  50. send "&4Gigantyczny Zombie uzyl mocy > &cREGENERACJA ZYCIA!" to attacker
  51. apply regeneration 10 to victim for 10 seconds
  52. stop
  53. chance of 2.5%:
  54. send "&4Gigantyczny Zombie uzyl mocy > &cARMIA ZOMBIE!" to attacker
  55. spawn 20 zombie at the attacker
  56. stop
  57. on death of giant:
  58. drop a bedrock named "&8&lKamien Mitycznego Giganta" at victim
  59. send "&aZabiles giganta i gdzies tam dropnal Kamien Mitycznego Giganta! Poszukaj go!" to attacker
  60. broadcast "&k&l;;; &cGracz &4%attacker% &czabil poteznego ewoluowanego Giganta!"
  61. stop
  62.  
  63. # BLOKADA
  64. on place of bedrock:
  65. send "&4Nie mozesz postawic Mitycznego Kamienia Giganta!"
  66. cancel event
  67. stop
  68. on drop of bedrock:
  69. create an explosion of force 1 at player
  70.  
  71. # CRAFTING
  72. on load:
  73. register new shaped recipe for golden hoe of sharpness 7 named "&e&lMityczna Kosa" with lore "&7Blindness II||&7Nausea V||&7Fire Aspect Pro" using gold block, bedrock, gold block, emerald block, bedrock, emerald block, air, blaze rod, air
  74. register new shaped recipe for potato of infinity 10 named "&6&lZiemniak Poteznego Giganta" using bedrock, potato, bedrock, potato, bedrock, potato, bedrock, potato, bedrock
  75. register new shaped recipe for golden apple of infinity 10 named "&e&lJablko Szalu" using bedrock, enchanted golden apple, bedrock, enchanted golden apple, bedrock, enchanted golden apple, bedrock, enchanted golden apple, bedrock
  76. register new shaped recipe for nether star of infinity 10 named "&f&lLatajaca Gwiazda &f[20]" using bedrock, feather, bedrock, feather, bedrock, feather, bedrock, feather, bedrock
  77.  
  78. # ITEMY
  79.  
  80. on rightclick with potato of infinity 10:
  81. make the player shoot arrow at speed 5
  82.  
  83. on damage:
  84. if attacker is player:
  85. if attacker's tool is golden hoe of sharpness 7:
  86. apply blindness 2 to victim for 1 minute
  87. apply nausea 5 to victim for 30 seconds
  88. show mob spawner flames at victim
  89. ignite victim for 5 minutes
  90. damage attacker's tool by 1
  91. if attacker's tool is potato of infinity 10:
  92. apply slow 5 to victim
  93. apply speed 3 to attacker
  94. damage victim by 5 hearts
  95. poison the victim for 25 seconds
  96.  
  97. on consume:
  98. if player's tool is golden apple of infinity 10:
  99. apply speed 10 to player for 1 minute
  100. apply jump boost 5 to player for 1 minute
  101. apply absorption 5 to player for 30 seconds
  102. apply regeneration to player for 30 seconds
  103. apply haste 5 to player for 1 minute
  104. apply strength 3 to player for 10 seconds
  105. stop
  106.  
  107. # LATAJACA GWIAZDA
  108.  
  109. on rightclick with nether star of infinity 10:
  110. cancel event
  111. name of player's tool is not "&f&lLatajaca Gwiazda &f[0]":
  112. {lg.wlaczony.%player%} is not set:
  113. set {lg.wlaczony.%player%} to true
  114. loop 20 times:
  115. wait a seconds
  116. player's tool is nether star of infinity 10:
  117. set {_sec} to 20
  118. set {_latanie} to loop-number
  119. set {lataniedla.%player%} to {_sec}-{_latanie}
  120. set name of player's tool to "&f&lLatajaca Gwiazda &f[%{lataniedla.%player%}%]"
  121. set {niesmiertelnosc.%player%} to true
  122. push the player in direction of player with speed 3.0
  123. else:
  124. send "&f&lMusisz trzymac Latajaca Gwiazde by latac!!!"
  125. delete {lg.wlaczony.%player%}
  126. stop
  127. {lg.wlaczony.%player%} is true:
  128. delete {lg.wlaczony.%player%}
  129. set name of player's tool to "&f&lLatajaca Gwiazda &f[0]"
  130. send "&f&lLatajaca Gwiazda jest wyczerpana... juz nie zda sie do latania! :("
  131. wait 5 seconds
  132. delete {niesmiertelnosc.%player%}
  133. else:
  134. send "&f&lJuz uzywasz Latajacej Gwiazdy!"
  135. else:
  136. send "&f&lLatajaca Gwiazda jest wyczerpana... juz nie zda sie do latania! :("
  137.  
  138. on damage of player:
  139. damage is caused by fall:
  140. {niesmiertelnosc.%victim%} is true:
  141. cancel event
Advertisement
Add Comment
Please, Sign In to add comment