Advertisement
Guest User

confuse spell

a guest
Jan 16th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.77 KB | None | 0 0
  1. #------------------------------------------------------------EmpireConfuse------------------------------------------------------------#
  2. on left click:
  3. if player has blaze rod named "&cEmpire Wand" with lore "&k2" in hand:
  4. set {_time} to difference between {lastuse::%player%} and now
  5. if {_time} isn't less than "%{empirewand.cooldown}% seconds" parsed as timespan:
  6. cancel event
  7. set {lastuse::%player%} to now
  8. set {_loc} to location of block 20 in front of the player
  9. set {_loc2} to location of player
  10. if distance between location of targeted block and {_loc2} is more than 30:
  11. loop all players in radius 30 around the player:
  12. play sound "ENTITY_FIREWORK_BLAST" to loop-player with volume 1 and pitch 5
  13. loop living entities in radius 3.2 around location of block 30 in front of the player:
  14. if loop-entity is a player:
  15. apply Nausea 10 to loop-entity for 12 seconds
  16. apply slowness 2 to loop-entity for 10 seconds
  17. damage loop-entity by 1.5
  18. drawDot count 10, particle "smokelarge", speed 0.08, XYZ 0.2, 0.2, 0.2, center location of block above block 30 in front of the player, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  19. drawDot count 10, particle "witchspell", speed 0.15, XYZ 0.6, 0.7, 0.6, center location of block above block 30 in front of the player, visibleRange 320, pulseDelay 0, keepFor 5 ticks
  20. wait 14 ticks
  21. loop all players in radius 10 around target block:
  22. play sound "ENTITY_FIREWORK_TWINKLE" to loop-player with volume 1 and pitch 5
  23. loop all players in radius 30 around the player:
  24. play sound "ENTITY_FIREWORK_TWINKLE" to loop-player with volume 1 and pitch 5
  25. if target block is set:
  26. loop all players in radius 30 around the player:
  27. play sound "ENTITY_FIREWORK_BLAST" to loop-player with volume 1 and pitch 5
  28. loop living entities in radius 3.2 around target block where [entity input is not player]:
  29. if loop-entity is a player:
  30. apply Nausea 10 to loop-entity for 22 seconds
  31. apply slowness 2 to loop-entity for 16 seconds
  32. damage loop-entity by 1.5
  33. drawDot count 10, particle "smokelarge", speed 0.08, XYZ 0.2, 0.2, 0.2, center location of block above target block, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  34. drawDot count 10, particle "witchspell", speed 0.15, XYZ 0.6, 0.7, 0.6, center location of block above target block, visibleRange 320, pulseDelay 0, keepFor 5 ticks
  35. wait 10 ticks
  36. loop all players in radius 10 around target block:
  37. play sound "ENTITY_FIREWORK_TWINKLE" to loop-player with volume 1 and pitch 5
  38. loop all players in radius 30 around the player:
  39. play sound "ENTITY_FIREWORK_TWINKLE" to loop-player with volume 1 and pitch 5
  40. stop
  41. else:
  42. loop all players in radius 30 around the player:
  43. play sound "ENTITY_FIREWORK_BLAST" to loop-player with volume 1 and pitch 5
  44. loop living entities in radius 3.2 around location of block 30 in front of the player:
  45. if loop-entity is a player:
  46. apply Nausea 10 to loop-entity for 12 seconds
  47. apply slowness 2 to loop-entity for 10 seconds
  48. damage loop-entity by 1.5
  49. drawDot count 10, particle "smokelarge", speed 0.08, XYZ 0.2, 0.2, 0.2, center location of block above block 30 in front of the player, visibleRange 320, pulseDelay 0, keepFor 3 ticks
  50. drawDot count 10, particle "witchspell", speed 0.15, XYZ 0.6, 0.7, 0.6, center location of block above block 30 in front of the player, visibleRange 320, pulseDelay 0, keepFor 5 ticks
  51. wait 14 ticks
  52. loop all players in radius 10 around target block:
  53. play sound "ENTITY_FIREWORK_TWINKLE" to loop-player with volume 1 and pitch 5
  54. loop all players in radius 30 around the player:
  55. play sound "ENTITY_FIREWORK_TWINKLE" to loop-player with volume 1 and pitch 5
  56. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement