Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #------------------------------------------------------------EmpireConfuse------------------------------------------------------------#
- on left click:
- if player has blaze rod named "&cEmpire Wand" with lore "&k2" in hand:
- set {_time} to difference between {lastuse::%player%} and now
- if {_time} isn't less than "%{empirewand.cooldown}% seconds" parsed as timespan:
- cancel event
- set {lastuse::%player%} to now
- set {_loc} to location of block 20 in front of the player
- set {_loc2} to location of player
- if distance between location of targeted block and {_loc2} is more than 30:
- loop all players in radius 30 around the player:
- play sound "ENTITY_FIREWORK_BLAST" to loop-player with volume 1 and pitch 5
- loop living entities in radius 3.2 around location of block 30 in front of the player:
- if loop-entity is a player:
- apply Nausea 10 to loop-entity for 12 seconds
- apply slowness 2 to loop-entity for 10 seconds
- damage loop-entity by 1.5
- 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
- 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
- wait 14 ticks
- loop all players in radius 10 around target block:
- play sound "ENTITY_FIREWORK_TWINKLE" to loop-player with volume 1 and pitch 5
- loop all players in radius 30 around the player:
- play sound "ENTITY_FIREWORK_TWINKLE" to loop-player with volume 1 and pitch 5
- if target block is set:
- loop all players in radius 30 around the player:
- play sound "ENTITY_FIREWORK_BLAST" to loop-player with volume 1 and pitch 5
- loop living entities in radius 3.2 around target block where [entity input is not player]:
- if loop-entity is a player:
- apply Nausea 10 to loop-entity for 22 seconds
- apply slowness 2 to loop-entity for 16 seconds
- damage loop-entity by 1.5
- 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
- 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
- wait 10 ticks
- loop all players in radius 10 around target block:
- play sound "ENTITY_FIREWORK_TWINKLE" to loop-player with volume 1 and pitch 5
- loop all players in radius 30 around the player:
- play sound "ENTITY_FIREWORK_TWINKLE" to loop-player with volume 1 and pitch 5
- stop
- else:
- loop all players in radius 30 around the player:
- play sound "ENTITY_FIREWORK_BLAST" to loop-player with volume 1 and pitch 5
- loop living entities in radius 3.2 around location of block 30 in front of the player:
- if loop-entity is a player:
- apply Nausea 10 to loop-entity for 12 seconds
- apply slowness 2 to loop-entity for 10 seconds
- damage loop-entity by 1.5
- 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
- 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
- wait 14 ticks
- loop all players in radius 10 around target block:
- play sound "ENTITY_FIREWORK_TWINKLE" to loop-player with volume 1 and pitch 5
- loop all players in radius 30 around the player:
- play sound "ENTITY_FIREWORK_TWINKLE" to loop-player with volume 1 and pitch 5
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement