Advertisement
AtsuSheee

Untitled

Aug 18th, 2019
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 40.16 KB | None | 0 0
  1. command /skywand [<text>] [<offlineplayer>]:
  2. aliases: /sw and /ew and /empirewand
  3. trigger:
  4. if arg-1 is set:
  5. if player has permission "Skywand.get":
  6. if arg-2 is set:
  7. if arg-2 is online:
  8. set {_opc} to arg-2
  9. give {_opc} a blaze rod named "&0Sky&5Wand" with lore "&k1"
  10. send "&8[&0Sky&5wand&8] &7Je hebt nu een &0Sky&5wand&7!!" to arg-2
  11. else:
  12. send "&8[&0Sky&5wand&8] &7Je hebt nu een &0Sky&5wand&7!!" to player
  13. give player a blaze rod named "&0Sky&5Wand" with lore "&k1"
  14. else:
  15. send "&8[&0Sky&5wand&8] &7Je hebt permission voor dit commando."
  16. else:
  17. send "&7&m---------------&8[&0Sky&5wand&8]&7&m---------------"
  18. send ""
  19. send "&c/Skywand get [Speler]"
  20. send ""
  21. send "&7&m----------&8[&aMade by sandor_1234]&7&m---------"
  22. on right click holding a blaze rod:
  23. name of the player's tool is "&0Sky&5Wand":
  24. player has permission "Skywand.use"
  25. if player isn't sneaking:
  26. if player has blaze rod named "&0Sky&5Wand" with lore "&k1" in hand:
  27. set line 1 of lore of player's tool to "&k2"
  28. message "&8&l✖ &6Launch"
  29. play raw sound "dig.glass" at player with pitch 1 volume 2
  30. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  31. stop
  32. if player has blaze rod named "&0Sky&5Wand" with lore "&k2" in hand:
  33. set line 1 of lore of player's tool to "&k3"
  34. message "&8&l✖ &6Explosive"
  35. play raw sound "dig.glass" at player with pitch 1 volume 2
  36. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  37. stop
  38. if player has blaze rod named "&0Sky&5Wand" with lore "&k3" in hand:
  39. set line 1 of lore of player's tool to "&k4"
  40. message "&8&l✖ &6Teleport"
  41. play raw sound "dig.glass" at player with pitch 1 volume 2
  42. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  43. stop
  44. if player has blaze rod named "&0Sky&5Wand" with lore "&k4" in hand:
  45. set line 1 of lore of player's tool to "&k5"
  46. message "&8&l✖ &6Lightning"
  47. play raw sound "dig.glass" at player with pitch 1 volume 2
  48. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  49. stop
  50. if player has blaze rod named "&0Sky&5Wand" with lore "&k5" in hand:
  51. set line 1 of lore of player's tool to "&k6"
  52. message "&8&l✖ &6ExplosiveWave"
  53. play raw sound "dig.glass" at player with pitch 1 volume 2
  54. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  55. stop
  56. if player has blaze rod named "&0Sky&5Wand" with lore "&k6" in hand:
  57. set line 1 of lore of player's tool to "&k7"
  58. message "&8&l✖ &6Lightning Spam"
  59. play raw sound "dig.glass" at player with pitch 1 volume 2
  60. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  61. stop
  62. if player has blaze rod named "&0Sky&5Wand" with lore "&k7" in hand:
  63. set line 1 of lore of player's tool to "&k8"
  64. message "&8&l✖ &6DiscoSheep"
  65. play raw sound "dig.glass" at player with pitch 1 volume 2
  66. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  67. stop
  68. if player has blaze rod named "&0Sky&5Wand" with lore "&k8" in hand:
  69. set line 1 of lore of player's tool to "&k9"
  70. message "&8&l✖ &6CrazyWolfs"
  71. play raw sound "dig.glass" at player with pitch 1 volume 2
  72. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  73. stop
  74. if player has blaze rod named "&0Sky&5Wand" with lore "&k9" in hand:
  75. set line 1 of lore of player's tool to "&k10"
  76. message "&8&l✖ &6Spark"
  77. play raw sound "dig.glass" at player with pitch 1 volume 2
  78. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  79. stop
  80. if player has blaze rod named "&0Sky&5Wand" with lore "&k10" in hand:
  81. set line 1 of lore of player's tool to "&k11"
  82. message "&8&l✖ &6RainBowBall"
  83. play raw sound "dig.glass" at player with pitch 1 volume 2
  84. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  85. stop
  86. if player has blaze rod named "&0Sky&5Wand" with lore "&k11" in hand:
  87. set line 1 of lore of player's tool to "&k12"
  88. message "&8&l✖ &6Meteor"
  89. play raw sound "dig.glass" at player with pitch 1 volume 2
  90. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  91. stop
  92. if player has blaze rod named "&0Sky&5Wand" with lore "&k12" in hand:
  93. set line 1 of lore of player's tool to "&k13"
  94. message "&8&l✖ &6KnockBackBall"
  95. play raw sound "dig.glass" at player with pitch 1 volume 2
  96. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  97. stop
  98. if player has blaze rod named "&0Sky&5Wand" with lore "&k13" in hand:
  99. set line 1 of lore of player's tool to "&k14"
  100. message "&8&l✖ &6Confuse"
  101. play raw sound "dig.glass" at player with pitch 1 volume 2
  102. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  103. stop
  104. if player has blaze rod named "&0Sky&5Wand" with lore "&k14" in hand:
  105. set line 1 of lore of player's tool to "&k15"
  106. message "&8&l✖ &6Leap"
  107. play raw sound "dig.glass" at player with pitch 1 volume 2
  108. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  109. stop
  110. if player has blaze rod named "&0Sky&5Wand" with lore "&k15" in hand:
  111. set line 1 of lore of player's tool to "&k16"
  112. message "&8&l✖ &6Capture"
  113. play raw sound "dig.glass" at player with pitch 1 volume 2
  114. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  115. stop
  116. if player has blaze rod named "&0Sky&5Wand" with lore "&k16" in hand:
  117. set line 1 of lore of player's tool to "&k17"
  118. message "&8&l✖ &6DarkPulse"
  119. play raw sound "dig.glass" at player with pitch 1 volume 2
  120. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  121. stop
  122. if player has blaze rod named "&0Sky&5Wand" with lore "&k17" in hand:
  123. set line 1 of lore of player's tool to "&k18"
  124. message "&8&l✖ &6Heal"
  125. play raw sound "dig.glass" at player with pitch 1 volume 2
  126. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  127. stop
  128. if player has blaze rod named "&0Sky&5Wand" with lore "&k18" in hand:
  129. set line 1 of lore of player's tool to "&k19"
  130. message "&8&l✖ &6FireShield"
  131. play raw sound "dig.glass" at player with pitch 1 volume 2
  132. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  133. stop
  134. if player has blaze rod named "&0Sky&5Wand" with lore "&k19" in hand:
  135. set line 1 of lore of player's tool to "&k20"
  136. message "&8&l✖ &6FlameThrower"
  137. play raw sound "dig.glass" at player with pitch 1 volume 2
  138. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  139. stop
  140. if player has blaze rod named "&0Sky&5Wand" with lore "&k20" in hand:
  141. set line 1 of lore of player's tool to "&k21"
  142. message "&8&l✖ &6Grab"
  143. play raw sound "dig.glass" at player with pitch 1 volume 2
  144. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  145. stop
  146. if player has blaze rod named "&0Sky&5Wand" with lore "&k21" in hand:
  147. set line 1 of lore of player's tool to "&k22"
  148. message "&8&l✖ &6Explode"
  149. play raw sound "dig.glass" at player with pitch 1 volume 2
  150. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  151. stop
  152. if player has blaze rod named "&0Sky&5Wand" with lore "&k22" in hand:
  153. set line 1 of lore of player's tool to "&k1"
  154. message "&8&l✖ &6Comet"
  155. play raw sound "dig.glass" at player with pitch 1 volume 2
  156. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  157. stop
  158. else:
  159. if player has blaze rod named "&0Sky&5Wand" with lore "&k1" in hand:
  160. set line 1 of lore of player's tool to "&k22"
  161. message "&8&l✖ &6Explode"
  162. play raw sound "dig.glass" at player with pitch 1 volume 2
  163. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  164. stop
  165. if player has blaze rod named "&0Sky&5Wand" with lore "&k2" in hand:
  166. set line 1 of lore of player's tool to "&k1"
  167. message "&8&l✖ &6Comet"
  168. play raw sound "dig.glass" at player with pitch 1 volume 2
  169. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  170. stop
  171. if player has blaze rod named "&0Sky&5Wand" with lore "&k3" in hand:
  172. set line 1 of lore of player's tool to "&k2"
  173. message "&8&l✖ &6Launch"
  174. play raw sound "dig.glass" at player with pitch 1 volume 2
  175. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  176. stop
  177. if player has blaze rod named "&0Sky&5Wand" with lore "&k4" in hand:
  178. set line 1 of lore of player's tool to "&k3"
  179. message "&8&l✖ &6Explosive"
  180. play raw sound "dig.glass" at player with pitch 1 volume 2
  181. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  182. stop
  183. if player has blaze rod named "&0Sky&5Wand" with lore "&k5" in hand:
  184. set line 1 of lore of player's tool to "&k4"
  185. message "&8&l✖ &6Teleport"
  186. play raw sound "dig.glass" at player with pitch 1 volume 2
  187. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  188. stop
  189. if player has blaze rod named "&0Sky&5Wand" with lore "&k6" in hand:
  190. set line 1 of lore of player's tool to "&k5"
  191. message "&8&l✖ &6Lightning"
  192. play raw sound "dig.glass" at player with pitch 1 volume 2
  193. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  194. stop
  195. if player has blaze rod named "&0Sky&5Wand" with lore "&k7" in hand:
  196. set line 1 of lore of player's tool to "&k6"
  197. message "&8&l✖ &6ExplosiveWave"
  198. play raw sound "dig.glass" at player with pitch 1 volume 2
  199. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  200. stop
  201. if player has blaze rod named "&0Sky&5Wand" with lore "&k8" in hand:
  202. set line 1 of lore of player's tool to "&k7"
  203. message "&8&l✖ &6Lightning Spam"
  204. play raw sound "dig.glass" at player with pitch 1 volume 2
  205. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  206. stop
  207. if player has blaze rod named "&0Sky&5Wand" with lore "&k9" in hand:
  208. set line 1 of lore of player's tool to "&k8"
  209. message "&8&l✖ &6DiscoSheep"
  210. play raw sound "dig.glass" at player with pitch 1 volume 2
  211. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  212. stop
  213. if player has blaze rod named "&0Sky&5Wand" with lore "&k10" in hand:
  214. set line 1 of lore of player's tool to "&k9"
  215. message "&8&l✖ &6CrazyWolfs"
  216. play raw sound "dig.glass" at player with pitch 1 volume 2
  217. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  218. stop
  219. if player has blaze rod named "&0Sky&5Wand" with lore "&k11" in hand:
  220. set line 1 of lore of player's tool to "&k10"
  221. message "&8&l✖ &6Spark"
  222. play raw sound "dig.glass" at player with pitch 1 volume 2
  223. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  224. stop
  225. if player has blaze rod named "&0Sky&5Wand" with lore "&k12" in hand:
  226. set line 1 of lore of player's tool to "&k11"
  227. message "&8&l✖ &6RainBowBall"
  228. play raw sound "dig.glass" at player with pitch 1 volume 2
  229. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  230. stop
  231. if player has blaze rod named "&0Sky&5Wand" with lore "&k13" in hand:
  232. set line 1 of lore of player's tool to "&k12"
  233. message "&8&l✖ &6Meteor"
  234. play raw sound "dig.glass" at player with pitch 1 volume 2
  235. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  236. stop
  237. if player has blaze rod named "&0Sky&5Wand" with lore "&k14" in hand:
  238. set line 1 of lore of player's tool to "&k13"
  239. message "&8&l✖ &6KnockBackBall"
  240. play raw sound "dig.glass" at player with pitch 1 volume 2
  241. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  242. stop
  243. if player has blaze rod named "&0Sky&5Wand" with lore "&k15" in hand:
  244. set line 1 of lore of player's tool to "&k14"
  245. message "&8&l✖ &6Confuse"
  246. play raw sound "dig.glass" at player with pitch 1 volume 2
  247. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  248. stop
  249. if player has blaze rod named "&0Sky&5Wand" with lore "&k16" in hand:
  250. set line 1 of lore of player's tool to "&k15"
  251. message "&8&l✖ &6Leap"
  252. play raw sound "dig.glass" at player with pitch 1 volume 2
  253. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  254. stop
  255. if player has blaze rod named "&0Sky&5Wand" with lore "&k17" in hand:
  256. set line 1 of lore of player's tool to "&k16"
  257. message "&8&l✖ &6Capture"
  258. play raw sound "dig.glass" at player with pitch 1 volume 2
  259. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  260. stop
  261. if player has blaze rod named "&0Sky&5Wand" with lore "&k18" in hand:
  262. set line 1 of lore of player's tool to "&k17"
  263. message "&8&l✖ &6DarkPulse"
  264. play raw sound "dig.glass" at player with pitch 1 volume 2
  265. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  266. stop
  267. if player has blaze rod named "&0Sky&5Wand" with lore "&k19" in hand:
  268. set line 1 of lore of player's tool to "&k18"
  269. message "&8&l✖ &6Heal"
  270. play raw sound "dig.glass" at player with pitch 1 volume 2
  271. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  272. stop
  273. if player has blaze rod named "&0Sky&5Wand" with lore "&k20" in hand:
  274. set line 1 of lore of player's tool to "&k19"
  275. message "&8&l✖ &6FireShield"
  276. play raw sound "dig.glass" at player with pitch 1 volume 2
  277. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  278. stop
  279. if player has blaze rod named "&0Sky&5Wand" with lore "&k21" in hand:
  280. set line 1 of lore of player's tool to "&k20"
  281. message "&8&l✖ &6FlameThrower"
  282. play raw sound "dig.glass" at player with pitch 1 volume 2
  283. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  284. stop
  285. if player has blaze rod named "&0Sky&5Wand" with lore "&k22" in hand:
  286. set line 1 of lore of player's tool to "&k21"
  287. message "&8&l✖ &6Grab"
  288. play raw sound "dig.glass" at player with pitch 1 volume 2
  289. drawDot count 5, particle "blockcrack", material portal, XYZ 0, 0, 0, center player's head, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  290. stop
  291. on projectile hit:
  292. if event-entity is a fireball:
  293. if metadata "Alive" of event-entity is set:
  294. clear metadata "Alive" of event-entity
  295. if metadata "CometSpell" of entity is true:
  296. delete projectile
  297. stopeffect id "%entity id of event-entity%1"
  298. stopeffect id "%entity id of event-entity%2"
  299. stopeffect id "%entity id of event-entity%3"
  300. create a safe explosion of force 4 at event-entity
  301. loop blocks in radius 3.5 around the entity:
  302. block above loop-block is air or any tall grass:
  303. loop-block isn't air, fire or any tall grass:
  304. set block above loop-block to fire
  305. stop
  306. if metadata "ExplosiveSpell" of entity is true:
  307. delete projectile
  308. stopeffect id "%entity id of event-entity%1"
  309. stopeffect id "%entity id of event-entity%2"
  310. create a safe explosion of force 4 at event-entity
  311. spawn a primed tnt at event-entity
  312. set fuse time of last spawned primed tnt to 0
  313. stop
  314. if metadata "RainBowBall" of entity is true:
  315. delete projectile
  316. create a safe explosion of force 4 at event-entity
  317. loop 5 times:
  318. launch firework at event-entity timed 1
  319. launch firework at event-entity timed 2
  320. launch firework at event-entity timed 3
  321. stop
  322. if metadata "Knockbackball" of entity is true:
  323. delete projectile
  324. loop all living entities in radius 6 around the event-entity:
  325. set {_fo} to 0.6 * (6 - distance between event-location and loop-entity)
  326. push loop-entity direction from location 3 blocks under event-location to loop-entity with force {_fo}
  327. launch "BALL" firework at event-location timed 0 coloured "RED"
  328. loop firework rockets in radius 1 of event-location:
  329. add "{LifeTime:2}" to nbt of loop-entity-2
  330. stop
  331. on join:
  332. if player doesn't have permission "Skywand.owner":
  333. wait 1 second
  334. send "&8[&0Sky&5wand&8] &7Deze server maakt gebruik van de &0Sky&5wand &7plugin gemaakt door sandor_1234."
  335. send "&8[&0Sky&5wand&8] &7Kom ook eens kijken op zijn server: kingdomserver.nl"
  336. on left click holding a blaze rod:
  337. name of player's tool is "&0Sky&5Wand":
  338. player has permission "skywand.use":
  339. cancel event
  340. if lore of player's tool is "&k1":
  341. make player shoot a fireball at speed 2
  342. set metadata "CometSpell" of shot fireball to true
  343. drawDot count 10, particle "witchspell", XYZ 1, 1, 1, center shot fireball, id "%entity id of shot fireball%1", visibleRange 320, pulseDelay 0, keepFor 15 seconds
  344. drawDot count 10, particle "Spellinstant", XYZ 1, 1, 1, center shot fireball, id "%entity id of shot fireball%2", visibleRange 320, pulseDelay 0, keepFor 15 seconds
  345. drawDot count 10, particle "smoke", XYZ 1, 1, 1, center shot fireball, id "%entity id of shot fireball%3", visibleRange 320, pulseDelay 0, keepFor 15 seconds
  346. stop
  347. if lore of player's tool is "&k2":
  348. if target living entity is set:
  349. drawDot count 4, particle "Smokelarge", XYZ 1, 1, 1, center location of target living entity, visibleRange 320, pulseDelay 0, keepFor 10 ticks
  350. drawDot count 4, particle "witchspell", XYZ 1, 1, 1, center location of target living entity, visibleRange 320, pulseDelay 0, keepFor 10 ticks
  351. loop all living entities in radius 5 around target living entity:
  352. push loop-entity upwards at speed 2
  353. drawDot count 1, particle "Smokelarge", XYZ 1, 1, 1, center loop-entity, visibleRange 320, pulseDelay 0, keepFor 20 ticks
  354. push target living entity upwards at speed 2
  355. drawDot count 1, particle "Smokelarge", XYZ 1, 1, 1, center target living entity, visibleRange 320, pulseDelay 0, keepFor 20 ticks
  356. stop
  357. if target block is set:
  358. distance between player and target block is less than 100:
  359. drawDot count 4, particle "Smokelarge", XYZ 1, 1, 1, center location of target block, visibleRange 320, pulseDelay 0, keepFor 10 ticks
  360. drawDot count 4, particle "witchspell", XYZ 1, 1, 1, center location of target block, visibleRange 320, pulseDelay 0, keepFor 10 ticks
  361. loop all living entities in radius 5 around target block:
  362. push loop-entity upwards at speed 2
  363. drawDot count 1, particle "Smokelarge", XYZ 1, 1, 1, center loop-entity, visibleRange 320, pulseDelay 0, keepFor 20 ticks
  364. stop
  365. set {_ll} to location of block 30 in front of the player
  366. drawDot count 4, particle "Smokelarge", XYZ 1, 1, 1, center {_ll}, visibleRange 320, pulseDelay 0, keepFor 10 ticks
  367. drawDot count 4, particle "witchspell", XYZ 1, 1, 1, center {_ll}, visibleRange 320, pulseDelay 0, keepFor 10 ticks
  368. loop all living entities in radius 5 around {_ll}:
  369. push loop-entity upwards at speed 2
  370. drawDot count 1, particle "Smokelarge", XYZ 1, 1, 1, center loop-entity, visibleRange 320, pulseDelay 0, keepFor 20 ticks
  371. stop
  372. if lore of player's tool is "&k3":
  373. make player shoot a fireball at speed 2
  374. set metadata "ExplosiveSpell" of shot fireball to true
  375. drawDot count 5, particle "Smokelarge", XYZ 1, 1, 1, center shot fireball, id "%entity id of shot fireball%1", visibleRange 320, pulseDelay 0, keepFor 15 seconds
  376. drawDot count 5, particle "lava", XYZ 1, 1, 1, center shot fireball, id "%entity id of shot fireball%2", visibleRange 320, pulseDelay 0, keepFor 15 seconds
  377. stop
  378. if lore of player's tool is "&k4":
  379. if target block is set:
  380. set {_l} to location of targeted block
  381. distance between player and {_l} is less than 250:
  382. block above {_l} is air:
  383. block above block above {_l} is air:
  384. teleport player to block above {_l}
  385. play raw sound "mob.endermen.portal" at player with pitch 1 volume 100
  386. drawDot count 10, particle "portal", XYZ 1, 1, 1, center player, visibleRange 320, pulseDelay 0, keepFor 2 seconds
  387. else:
  388. set {_l} to block 30 in front of the player
  389. block above {_l} is air
  390. block above block above {_l} is air:
  391. teleport player to block above {_l}
  392. play raw sound "mob.endermen.portal" at player with pitch 1 volume 100
  393. drawDot count 10, particle "portal", XYZ 1, 1, 1, center player, visibleRange 320, pulseDelay 0, keepFor 2 seconds
  394. stop
  395. if lore of player's tool is "&k5":
  396. if target living entities is set:
  397. strike fake fake lightning at target living entity
  398. set block at target living entity to fire
  399. damage target living entity by 2
  400. play raw sound "ambient.weather.thunder" at target living entity with pitch 1 volume 100
  401. stop
  402. if target block is set:
  403. strike fake fake lightning at target block of player
  404. set block above target block to fire
  405. play raw sound "ambient.weather.thunder" at target block with pitch 1 volume 100
  406. loop all living entities in radius 2 around target block:
  407. damage loop-entity by 2
  408. stop
  409. set {_lth} to block 30 in front of the player
  410. strike fake fake lightning at {_lth}
  411. loop all living entities in radius 2 around {_lth}:
  412. damage loop-entity by 2
  413. play raw sound "ambient.weather.thunder" at {_lth} with pitch 1 volume 100
  414. stop
  415. if lore of player's tool is "&k6":
  416. loop blocks from the block 14 in front of the player to the block 20 in front of the player:
  417. spawn a primed tnt at loop-block
  418. set fuse time of last spawned primed tnt to 0
  419. wait 1 tick
  420. stop
  421. if lore of player's tool is "&k7":
  422. if target living entity is set:
  423. play raw sound "ambient.weather.thunder" at target living entity with pitch 1 volume 100
  424. loop all blocks in radius 4 of target living entity:
  425. strike fake fake lightning at loop-block
  426. block above loop-block is air or any tall grass
  427. loop-block isn't air, fire or any tall grass:
  428. set block above loop-block to fire
  429. loop all entities in radius 4 of target living entity:
  430. damage loop-entity by 4
  431. stop
  432. loop all blocks in radius 4 of target block:
  433. strike fake fake lightning at loop-block
  434. block above loop-block is air or any tall grass
  435. loop-block isn't air, fire or any tall grass:
  436. set block above loop-block to fire
  437. loop all entities in radius 4 of target block:
  438. damage loop-entity by 4
  439. play raw sound "ambient.weather.thunder" at target block with pitch 1 volume 100
  440. stop
  441. if lore of player's tool is "&k8":
  442. loop all living entities in radius 15 around target block:
  443. if loop-entity isn't "%player%":
  444. if loop-entity is a player:
  445. set {_l.%player%} to loop-entity
  446. exit loop
  447. set {_l.%player%} to loop-entity
  448. set {_t} to 0
  449. spawn a sheep above target block
  450. set name of the spawned sheep to "jeb_"
  451. set {_sh.%player%} to spawned sheep
  452. drawSphere style 2, particle "redstone", center {_sh.%player%}, id "%player%", rainbowMode true, radius 1, density 100, visibleRange 50, pulseDelay 1
  453. while {_sh.%player%} is alive:
  454. make {_sh.%player%} pathfind to {_l.%player%} with speed 5
  455. wait 5 tick
  456. add 1 to {_t}
  457. if distance between {_sh.%player%} and {_l.%player%} is less than 4:
  458. spawn a primed tnt at {_sh.%player%}
  459. set fuse time of last spawned primed tnt to 0
  460. kill {_sh.%player%}
  461. stopEffect id "%player%"
  462. if {_t} = 10:
  463. spawn a primed tnt at {_sh.%player%}
  464. set fuse time of last spawned primed tnt to 0
  465. kill {_sh.%player%}
  466. stopEffect id "%player%"
  467. stopEffect id "%player%"
  468. stop
  469. if lore of player's tool is "&k9":
  470. if target living entity is set:
  471. set {_t} to target living entity
  472. set {_n} to 0
  473. loop 4 times:
  474. spawn wolf above location of target block
  475. add 1 to {_n}
  476. set {_wolf%{_n}%.%player%} to spawned wolf
  477. DrawWarpRings style 1, particle "redstone", RGB 80, 255, 255, center location of {_wolf1.%player%}, id "%player%", rainbowMode true, scan true, height 2, radius 1, ringCount 40, ringDensity 20, visibleRange 32, pulseDelay 2
  478. wait 10 tick
  479. make {_t} damage {_wolf1.%player%} and {_wolf2.%player%} and {_wolf3.%player%} and {_wolf4.%player%} by 1
  480. wait 1 second
  481. stopeffect id "%player%"
  482. wait 5 seconds
  483. kill {_wolf1.%player%} and {_wolf2.%player%} and {_wolf3.%player%} and {_wolf4.%player%}
  484. stop
  485. if target block is set:
  486. loop all living entities in radius 6 around target block:
  487. if loop-entity isn't player:
  488. set {_t} to loop-entity
  489. set {_n} to 0
  490. loop 4 times:
  491. spawn wolf above location of target block
  492. add 1 to {_n}
  493. set {_wolf%{_n}%.%player%} to spawned wolf
  494. DrawWarpRings style 1, particle "redstone", RGB 80, 255, 255, center location of {_wolf1.%player%}, id "%player%", rainbowMode true, scan true, height 2, radius 1, ringCount 40, ringDensity 20, visibleRange 32, pulseDelay 2
  495. wait 10 tick
  496. make {_t} damage {_wolf1.%player%} and {_wolf2.%player%} and {_wolf3.%player%} and {_wolf4.%player%} by 1
  497. wait 1 second
  498. stopeffect id "%player%"
  499. wait 5 seconds
  500. kill {_wolf1.%player%} and {_wolf2.%player%} and {_wolf3.%player%} and {_wolf4.%player%}
  501. stop
  502. if lore of player's tool is "&k10":
  503. if target block is set:
  504. if block above target block is air or grass:
  505. launch "BURST" firework at location above target block timed 0 coloured "black"
  506. drawDot count 4, particle "witchspell", XYZ 1, 1, 1, center location above target block, visibleRange 320, pulseDelay 0, keepFor 10 ticks
  507. loop firework rockets in radius 1 of location above target block:
  508. add "{LifeTime:2}" to nbt of loop-entity
  509. loop all living entities in radius 3 around location above target block:
  510. damage loop-entity by 3
  511. else:
  512. loop blocks in radius 2 around target block:
  513. if loop-block is air:
  514. launch "BURST" firework at loop-block timed 0 coloured "black"
  515. loop firework rockets in radius 1 of loop-block:
  516. add "{LifeTime:2}" to nbt of loop-entity
  517. drawDot count 4, particle "witchspell", XYZ 1, 1, 1, center location of loop-block, visibleRange 320, pulseDelay 0, keepFor 10 ticks
  518. loop all living entities in radius 3 around loop-block:
  519. damage loop-entity by 3
  520. stop
  521. else:
  522. launch "BURST" firework at block 30 in front of the player timed 0 coloured "black"
  523. drawDot count 4, particle "witchspell", XYZ 1, 1, 1, center location of block 30 in front of the player, visibleRange 320, pulseDelay 0, keepFor 10 ticks
  524. loop firework rockets in radius 1 of block 30 in front of the player:
  525. add "{LifeTime:2}" to nbt of loop-entity
  526. loop all living entities in radius 3 around block 30 in front of the player:
  527. damage loop-entity by 4
  528. stop
  529. if lore of player's tool is "&k11":
  530. make player shoot a fireball at speed 1
  531. set {_s.%player%} to shot fireball
  532. set metadata "RainBowBall" of shot fireball to true
  533. set metadata "Alive" of shot fireball to "true"
  534. while metadata "Alive" of {_s.%player%} is set:
  535. launch "BALL" firework at {_s.%player%} timed 0
  536. loop firework rockets in radius 1 of {_s.%player%}:
  537. add "{LifeTime:2}" to nbt of loop-entity
  538. add 1 to {_t}
  539. if {_t} = 150:
  540. stop
  541. wait 3 tick
  542. stop
  543. if lore of player's tool is "&k12":
  544. set {_l} to location 100 blocks above target block
  545. spawn arrow at {_l}
  546. set {_a.%player%} to spawned arrow
  547. set metadata "MeteorSpell" of spawned arrow to true
  548. set metadata "Alive" of spawned arrow to "true"
  549. while metadata "Alive" of {_a.%player%} is "True":
  550. launch "BURST" firework at {_a.%player%} timed 0 coloured "red" and "orange"
  551. loop firework rockets in radius 1 of {_a.%player%}:
  552. add "{LifeTime:2}" to nbt of loop-entity
  553. wait 1 tick
  554. add 1 to {_n}
  555. if {_n} = 300:
  556. stop
  557. stop
  558. if lore of player's tool is "&k13":
  559. make player shoot a fireball at speed 1
  560. set {_kb.%player%} to shot fireball
  561. set metadata "Knockbackball" of shot fireball to true
  562. set metadata "Alive" of shot fireball to "true"
  563. while metadata "Alive" of {_kb.%player%} is set:
  564. launch "BURST" firework at {_kb.%player%} timed 0 coloured "Orange" and "White"
  565. loop firework rockets in radius 1 of {_kb.%player%}:
  566. add "{LifeTime:2}" to nbt of loop-entity
  567. add 1 to {_t}
  568. if {_t} = 60:
  569. stop
  570. wait 5 tick
  571. stop
  572. if lore of player's tool is "&k14":
  573. if target block is set:
  574. loop living entities in radius 4 around target block:
  575. if loop-entity is a player:
  576. apply Nausea 2 to loop-entity for 10 seconds
  577. damage loop-entity by 2
  578. drawDot count 4, particle "fireworkspark", XYZ 1, 1, 1, center location of block above target block, visibleRange 320, pulseDelay 0, keepFor 10 ticks
  579. DrawDot count 4, particle "critmagic", XYZ 1, 1, 1, center location of block above target block, visibleRange 320, pulseDelay 0, keepFor 10 ticks
  580. DrawDot count 4, particle "witchspell", XYZ 1, 1, 1, center location of block above target block, visibleRange 320, pulseDelay 0, keepFor 10 ticks
  581. stop
  582. loop living entities in radius 4 around location of block 30 in front of the player:
  583. if loop-entity is a player:
  584. apply Nausea 2 to loop-entity for 10 seconds
  585. damage loop-entity by 2
  586. drawDot count 4, particle "fireworkspark", XYZ 1, 1, 1, center location of block 30 in front of the player, visibleRange 320, pulseDelay 0, keepFor 10 ticks
  587. DrawDot count 4, particle "critmagic", XYZ 1, 1, 1, center location of block 30 in front of the player, visibleRange 320, pulseDelay 0, keepFor 10 ticks
  588. DrawDot count 4, particle "witchspell", XYZ 1, 1, 1, center location of block 30 in front of the player, visibleRange 320, pulseDelay 0, keepFor 10 ticks
  589. stop
  590. if lore of player's tool is "&k15":
  591. push player upwards at speed 2
  592. push player in the direction of player with force 3
  593. play raw sound "mob.endermen.portal" at player with pitch 1 volume 100
  594. DrawDot count 5, particle "itemcrack", material eye of ender, XYZ 0.5, 0.5, 0.5, center player, visibleRange 320, pulseDelay 0, keepFor 5 seconds
  595. wait 3 tick
  596. while ground state of player is false:
  597. wait 1 tick
  598. drawWarpRings style 27, particle "portal", center player, id "leap.%player%", scan true, height 0, radius 2, ringCount 40, ringDensity 20, visibleRange 50, displacementXYZ 0, 2, 0
  599. wait 3 seconds
  600. stopeffect id "leap.%player%"
  601. if lore of player's tool is "&k16":
  602. if passenger of the player is a living entity:
  603. stopEffect id "%entity id of passenger of the player%"
  604. set {_pa} to passenger of the player
  605. make {_pa} leave from the vehicle
  606. push {_pa} in the direction of the player at speed 2
  607. stop
  608. if target living entity is set:
  609. if distance between player and target living entity is less than 25:
  610. make target living entity ride player
  611. drawDot count 10, particle "portal", XYZ 1, 1, 1, center target living entity, id "%entity id of target living entity%", visibleRange 320, pulseDelay 0, keepFor 10 seconds
  612. play raw sound "mob.endermen.portal" at player with pitch 1 volume 100
  613. stop
  614. if lore of player's tool is "&k17":
  615. if target living entity is set:
  616. loop 10 times:
  617. drawLine particle smokelarge, XYZ 0.5, 0.5, 0.5, center player, target location of target living entity, id "%random number between 0 and 100000%", rainbowMode false, solid false, density 2, length 0, zigZag count 0, height 0, visibleRange 100, displacementXYZ 0, 0, 0, pulseDelay 1
  618. drawLine particle smoke, XYZ 2, 2, 2, center player, target location of target living entity, id "%random number between 0 and 100000%", rainbowMode false, solid false, density 2, length 0, zigZag count 0, height 0, visibleRange 100, displacementXYZ 0, 0, 0, pulseDelay 1
  619. set {_ta} to location of target living entity
  620. wait 1.3 second
  621. create a safe explosion of force 5 at {_ta}
  622. loop all living entities in radius 4 around {_ta}:
  623. damage loop-entity by 6
  624. stop
  625. if target block is set:
  626. loop 10 times:
  627. drawLine particle smokelarge, XYZ 0.5, 0.5, 0.5, center player, target location of target block, id "%random number between 0 and 100000%", rainbowMode false, solid false, density 2, length 0, zigZag count 0, height 0, visibleRange 100, displacementXYZ 0, 0, 0, pulseDelay 1
  628. drawLine particle smoke, XYZ 2, 2, 2, center player, target location of target block, id "%random number between 0 and 100000%", rainbowMode false, solid false, density 2, length 0, zigZag count 0, height 0, visibleRange 100, displacementXYZ 0, 0, 0, pulseDelay 1
  629. set {_ta} to location of target block
  630. wait 1.3 second
  631. create a safe explosion of force 5 at {_ta}
  632. loop all living entities in radius 4 around {_ta}:
  633. damage loop-entity by 6
  634. stop
  635. loop 10 times:
  636. drawLine particle smokelarge, XYZ 0.5, 0.5, 0.5, center player, id "%random number between 0 and 100000%", rainbowMode false, solid false, density 2, length 70, zigZag count 0, height 0, visibleRange 100, displacementXYZ 0, 0, 0, pulseDelay 1
  637. drawLine particle smoke, XYZ 2, 2, 2, center player, id "%random number between 0 and 100000%", rainbowMode false, solid false, density 2, length 70, zigZag count 0, height 0, visibleRange 100, displacementXYZ 0, 0, 0, pulseDelay 1
  638. if lore of player's tool is "&k18":
  639. apply regeneration 2 to the player for 10 seconds
  640. set absorption hearts of player to 14
  641. drawComplexCircle particle "heart", center player, id "%player%-heal1", randomRotation true, radius .8, density 20, start 0, visibleRange 100, xRotation 23, yRotation 120, zRotation 0
  642. drawComplexCircle particle "heart", center player, id "%player%-heal2", randomRotation false, radius .8, density 20, start 0, visibleRange 100, xRotation 70, yRotation 10, zRotation 0
  643. drawComplexCircle particle "heart", center player, id "%player%-heal3", randomRotation false, radius .8, density 20, start 0, visibleRange 100, xRotation 0, yRotation 60, zRotation 0
  644. drawComplexCircle particle "heart", center player, id "%player%-heal4", randomRotation true, radius .8, density 20, start 0, visibleRange 100, xRotation 25, yRotation 54, zRotation 0
  645. wait 3 seconds
  646. stopeffect id "%player%-heal1"
  647. stopeffect id "%player%-heal2"
  648. stopeffect id "%player%-heal3"
  649. stopeffect id "%player%-heal4"
  650. if lore of player's tool is "&k19":
  651. if {FireShield.%player%} is true:
  652. set {FireShield.%player%} to false
  653. stopeffect id "sh.%player%"
  654. stopeffect id "sh1.%player%"
  655. stop
  656. set {FireShield.%player%} to true
  657. drawSphere style 1, particle "flame", center player, id "sh.%player%", rainbowMode true, radius 3, density 50, visibleRange 100, pulseDelay 1
  658. drawSphere style 1, particle "smokelarge", center player, id "sh1.%player%", rainbowMode true, radius 3, density 50, visibleRange 100, pulseDelay 1
  659. while {FireShield.%player%} is true:
  660. loop all living entities in radius 3 around player:
  661. if loop-entity isn't player:
  662. ignite loop-entity
  663. wait 10 tick
  664. if lore of player's tool is "&k20":
  665. if {FlameThrower.%player%} is true:
  666. set {FlameThrower.%player%} to false
  667. stop
  668. set {FlameThrower.%player%} to true
  669. while {FlameThrower.%player%} is true:
  670. spawn falling block of fire at block at player
  671. push last spawned entity in direction of player with speed 2
  672. wait 2 tick
  673. if lore of player's tool is "&k21":
  674. if target living entity is set:
  675. loop all living entities in radius 3 around target living entity:
  676. if loop-entity isn't player:
  677. DrawDot count 15, particle "happyvillager", XYZ 1, 1, 1, center loop-entity, visibleRange 320, pulseDelay 0, keepFor 2 seconds
  678. push the loop-entity upwards at speed 1
  679. push the loop-entity in the direction of the player at speed -3
  680. stop
  681. if target block is set:
  682. loop all living entities in radius 3 around target block:
  683. if loop-entity isn't player:
  684. DrawDot count 15, particle "happyvillager", XYZ 1, 1, 1, center loop-entity, visibleRange 320, pulseDelay 0, keepFor 2 seconds
  685. push the loop-entity upwards at speed 1
  686. push the loop-entity in the direction of the player at speed -3
  687. stop
  688. if lore of player's tool is "&k22":
  689. if target block is set:
  690. spawn a primed tnt at target block
  691. set fuse time of last spawned primed tnt to 0
  692. on projectile hit:
  693. if projectile is an arrow:
  694. if metadata "Alive" of projectile is "true":
  695. set metadata "Alive" of projectile to "false"
  696. create a safe explosion of force 10 at event-entity
  697. launch "BALL_LARGE" firework at event-location timed 0 coloured "red" and "black"
  698. loop firework rockets in radius 1 of event-location:
  699. add "{LifeTime:2}" to nbt of loop-entity
  700. delete projectile
  701. loop blocks in radius 3 around event-entity:
  702. if loop-block isn't bedrock:
  703. spawn falling block of loop-block at loop-block
  704. set loop-block to air
  705. push last spawned entity upwards with force 2
  706. push last spawned entity direction from event-location to last spawned entity with force -0.5
  707. spawn a primed tnt at event-entity
  708. set fuse time of last spawned primed tnt to 0
  709. on damage:
  710. attacker has blaze rod in hand
  711. name of the attacker's tool is "&0Sky&5Wand":
  712. cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement