ALPHADOIDE

Untitled

Sep 7th, 2021 (edited)
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.26 KB | None | 0 0
  1. on death of player:
  2. set {abi.ct.%victim%} to true
  3. delete {abitime::%victim%}
  4.  
  5. on offhand switch:
  6. {abi.ct.%player%} is true
  7. {fieldmenu.%player%} is true
  8. if {abi.%player%} is 1:
  9. push the player forwards at speed 0.7
  10. set {abi.ct.%player%} to false
  11. set {abitime::%player%} to 10
  12. play sound "entity.player.attack.sweep" with volume 1 and pitch 1 at player
  13. play 20 CLOUD with offset of 0.05, 0.05, 0.05 and speed 20 at player's location
  14. set {sinpei.%player%} to true
  15. wait 10 tick
  16. delete {sinpei.%player%}
  17. else if {abi.%player%} is 2:
  18. set {abi.ct.%player%} to false
  19. set {abitime::%player%} to 25
  20. play sound "entity.firework.twinkle" with volume 1 and pitch 1 at player
  21. set {_b} to player's location
  22. add 3 to {_b}'s y-coordinate
  23. loop 40 times:
  24. play 6 huge explosion with offset of 3, 3, 3 and speed 4 at {_b}
  25. wait 5 tick
  26. else if {abi.%player%} is 3:
  27. set {abi.ct.%player%} to false
  28. set {abitime::%player%} to 37
  29. set {dome::%player%} to player's location
  30. play sound "entity.pig.death" with volume 1 and pitch 2 at player
  31. drawSphere style 1, particle "redstone", RGB 0, 0, 255, center {dome::%player%}, id "%player%.dome", rainbowMode false, radius 5, density 60, visibleRange 32, pulseDelay 1
  32. wait 7 second
  33. stopEffect "%player%.dome"
  34. delete {dome::%player%}
  35. else if {abi.%player%} is 4:
  36. set {abi.ct.%player%} to false
  37. set {abitime::%player%} to 30
  38. set {kokuu.%player%} to true
  39. set {kokumute.%player%} to true
  40. set {_walk} to walking speed of player
  41. set the player's walk speed to 0.05
  42. set {_sound} to 0.5
  43. loop 18 time:
  44. play sound "block.note.harp" with volume 1 and pitch {_sound} at player
  45. add 0.1 to {_sound}
  46. wait 2 tick
  47. play sound "block.portal.travel" with volume 0.5 and pitch 1 at player
  48. hide player from all players
  49. drawComplexCircle particle "redstone", RGB 255, 0, 0, center player, id "%player%.void1", randomRotation false, radius .8, density 20, start 0, visibleRange 100, xRotation 70, yRotation 10, zRotation 0
  50. drawComplexCircle particle "redstone", RGB 100, 149, 237, center player, id "%player%.void2", randomRotation true, radius .8, density 20, start 0, visibleRange 100, xRotation 23, yRotation 120, zRotation 0
  51. set the player's walk speed to 0.32
  52. wait 3.2 second
  53. set the player's walk speed to {_walk}
  54. stopEffect "%player%.void1"
  55. stopEffect "%player%.void2"
  56. reveal player to all players
  57. delete {kokumute.%player%}
  58. play sound "entity.endermen.teleport" with volume 1 and pitch 1 at player
  59. wait 10 tick
  60. delete {kokuu.%player%}
  61. else if {abi.%player%} is 5:
  62. set {_hp} to player's health
  63. if {_hp} < 4.5:
  64. stop
  65. remove 4.5 from player's health
  66. set {abi.ct.%player%} to false
  67. set {abitime::%player%} to 7
  68. set {kouhun.%player%} to true
  69. set {_walk} to walking speed of player
  70. set {sepa.%player%} to 6
  71. set the player's walk speed to {_walk} + 0.09
  72. drawHalo particle "redstone", RGB 0, 255, 0, center player, id "%player%.oku", rainbowMode false, solid true, density 5, visibleRange 32
  73. while ({kouhun.%player%}):
  74. play sound "block.note.xylophone" with volume 0.5 and pitch 0.1 at player
  75. wait "%{sepa.%player%}% tick" parsed as timespan
  76. play sound "block.note.xylophone" with volume 0.5 and pitch 1 at player
  77. wait "%{sepa.%player%}% tick" parsed as timespan
  78. play sound "block.note.xylophone" with volume 0.5 and pitch 2 at player
  79. wait "%{sepa.%player%}% tick" parsed as timespan
  80. play sound "block.note.xylophone" with volume 0.5 and pitch 1 at player
  81. wait "%{sepa.%player%}% tick" parsed as timespan
  82. remove 1 from {sepa.%player%}
  83. {sepa.%player%} <= 1
  84. loop 3 times:
  85. play sound "block.note.xylophone" with volume 0.5 and pitch 0.5 at player
  86. wait 2 tick
  87. play sound "block.note.xylophone" with volume 0.5 and pitch 1 at player
  88. wait 2 tick
  89. play sound "block.note.xylophone" with volume 0.5 and pitch 2 at player
  90. wait 2 tick
  91. play sound "block.note.xylophone" with volume 0.5 and pitch 1 at player
  92. wait 2 tick
  93. set {kouhun.%player%} to false
  94. stopEffect "%player%.oku"
  95. play sound "entity.player.levelup" with volume 1 and pitch 1 at player
  96. set the player's walk speed to {_walk}
  97. else if {abi.%player%} is 6:
  98. set {abi.ct.%player%} to false
  99. set {abitime::%player%} to 30
  100. spawn 1 chicken at player's location
  101. set {_e} to last spawned entity
  102. push {_e} forward at speed 0.8
  103. push {_e} upward at speed 0.5
  104. set name of {_e} to "&dヘルスドローン"
  105. wait 5 tick
  106. # add "{NoAI:1}" to nbt of {_e}
  107. add "{Marker:true,NoGravity:true,NoAI:1}" to nbt of {_e}
  108. # drawSphere style 1, particle "redstone", center {_e}, id "%player%.heal", rainbowMode true, radius 3.5, density 7, visibleRange 32, pulseDelay 1
  109. set {_l} to {_e}'s location
  110. loop 100 times:
  111. loop all players in radius 3.5 of {_e}:
  112. set {_p} to loop-player's location
  113. add 1 to {_p}'s y-coordinate
  114. set {_heal::%loop-player%} to loop-player
  115. drawLine particle redstone, RGB 244, 164, 96, center {_l}, target location of {_p}, id "%loop-player%.line", rainbowMode false, solid true, density 6, length 0, zigZag count 0, height 0, visibleRange 32, displacementXYZ 0, 0, 0, pulseDelay 1
  116. wait 2 tick
  117. loop {_heal::*}:
  118. stopEffect "%loop-value-2%.line"
  119. set {_a} to mod(loop-number, 5)
  120. set {_b} to mod(loop-number, 10)
  121. if {_a} is 0:
  122. loop {_heal::*}:
  123. heal the loop-value-2 by 0.8 heart
  124. if {_b} is 0:
  125. play 10 heart with offset of 1, 1, 1 and speed 20 at {_l}
  126. play sound "entity.cat.ambient" with volume 0.6 and pitch 1 at {_e}
  127. delete {_heal::*}
  128. # stopEffect "%player%.heal"
  129. kill {_e}
  130. on damage:
  131. {kokuu.%attacker%} is true
  132. cancel event
  133.  
  134. on cs damage:
  135. loop {dome::*}:
  136. if distance between event-entity's location and {dome::%loop-index%} <= 4.9:
  137. if distance between event-player's location and {dome::%loop-index%} >= 5:
  138. cancel event
  139. play sound "entity.arrow.hit" with volume 1 and pitch 1 at event-player
  140. if distance between event-player's location and {dome::%loop-index%} <= 4.9:
  141. if distance between event-entity's location and {dome::%loop-index%} >= 5:
  142. cancel event
  143. play sound "entity.arrow.hit" with volume 1 and pitch 1 at event-player
  144.  
  145. command /sizedome:
  146. trigger:
  147. set {_a} to size of {dome::*}
  148. broadcast "%{_a}%"
  149.  
  150. on cs shoot:
  151. size of {dome::*} >= 1
  152. loop {dome::*}:
  153. if distance between event-player's location and {dome::%loop-index%} >= 5:
  154. set {pro.outside::%{pro.num}%} to event-projectile
  155. add 1 to {pro.outside.num}
  156. if distance between event-player's location and {dome::%loop-index%} <= 4.9:
  157. set {pro.inside::%{pro.num}%} to event-projectile
  158. add 1 to {pro.inside.num}
  159.  
  160. on every tick:
  161. loop {pro.outside::*}:
  162. if loop-value is alive:
  163. loop {dome::*}:
  164. if distance between loop-value-1's location and {dome::%loop-index-2%} <= 4.9:
  165. kill loop-value-1
  166. delete {pro.outside::%loop-index-1%}
  167. else:
  168. delete {pro.outside::%loop-index-1%}
  169.  
  170. loop {pro.inside::*}:
  171. if loop-value is alive:
  172. loop {dome::*}:
  173. if distance between loop-value-1's location and {dome::%loop-index-2%} >=5:
  174. kill loop-value-1
  175. delete {pro.inside::%loop-index-1%}
  176. else:
  177. delete {pro.inside::%loop-index-1%}
  178.  
  179. every 10 second:
  180. set {pro.inside.num} to 0
  181. set {pro.outside.num} to 0
  182.  
  183. command /ahosinekuso:
  184. trigger:
  185. loop {tetu.%player%::*}:
  186. delete {tetu.%player%::%loop-index%}
  187.  
  188. on cs damage:
  189. {sinpei.%event-entity%} is set
  190. play sound "entity.player.attack.sweep" with volume 1 and pitch 2 at event-entity
  191. cancel event
  192.  
  193. every second:
  194. loop {abitime::*}:
  195. remove 1 from {abitime::%loop-index%}
  196. {abitime::%loop-index%} is 0
  197. set {abi.ct.%loop-index%} to true
  198. delete {abitime::%loop-index%}
  199.  
  200. every second:
  201. loop all players:
  202. if {abi.ct.%loop-player%} is true:
  203. set action bar of loop-players to "&d<&aアビリティ準備完了!&d>"
  204. else if {abi.ct.%loop-player%} is false:
  205. set action bar of loop-players to "&d<&cクールダウン中...&a(%{abitime::%loop-player%}%秒)!&d>"
  206. else:
  207. set action bar of loop-players to "&d<&aスキルをセットしてください...!&d>"
  208.  
  209. on cs damage:
  210. {kokumute.%player%} is true
  211. if event-player is a player:
  212. cancel event
  213.  
  214. on death of chicken:
  215. clear drops
  216.  
  217. on damage of chicken:
  218. cancel event
  219.  
Add Comment
Please, Sign In to add comment