Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on rightclick with book:
- if name of held item is "&b&lアクア":
- if level of player is more than or equal to 26:
- set {aqua.%player%.cooldown} to difference between {aqua.%player%.lastused} and now
- if {aqua.%player%.cooldown} is less than 10 seconds:
- play "entity_ghast_shoot" to players at volume 1
- show an action bar from "&4&lCooldown &e%difference between 10 seconds and {aqua.%player%.cooldown}%&7..." to player
- stop
- set {aqua.%player%.lastused} to now
- reduce level progress of player by 26
- set {aqua.%player%.x} to x-coords of player
- set {aqua.%player%.y} to y-coords of player
- set {aqua.%player%.z} to z-coords of player
- set {aqua.%player%.location} to location of player
- loop 6 times:
- execute console command "/particle splash %{aqua.%player%.x}% %{aqua.%player%.y}% %{aqua.%player%.z}% 2 0 2 0 1500 mode @a"
- wait 5 tick
- play sound "item.bucket.empty" with volume 2 and pitch 0.75 at player
- loop 8 times:
- execute console command "/particle splash %{aqua.%player%.x}% %{aqua.%player%.y}% %{aqua.%player%.z}% 2 %loop-number% 2 0 %loop-number * 500% mode @a"
- loop all blocks 8 meter above block above {aqua.%player%.location}:
- loop all entities in radius 3 around loop-block:
- loop-entity is not player
- make player damage loop-entity by 28
- apply slow 3 to the loop-entity for 5 seconds
- loop all blocks 8 meter below block below {aqua.%player%.location}:
- loop all entities in radius 3 around loop-block:
- loop-entity is not player
- make player damage loop-entity by 28
- apply slow 3 to the loop-entity for 5 seconds
- wait a tick
- else:
- play "entity_ghast_shoot" to players at volume 1
- show an action bar from "&e&l%26 - level of player% &d&lMP &care not enough" to player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement