Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on rightclick holding wood hoe:
- player's tool is enchanted with unbreaking 1
- the block below the player is not air
- if level of player is more than 0:
- set {_cooldown} to difference between {sw.%player%.lastused} and now
- if {_cooldown} is less than 35 seconds:
- play "entity_ghast_shoot" to players at volume 10
- create a circle effect at player with id "Failed" with particles SMOKE NORMAL with radius 1
- message "<pink>%difference between 35 seconds and {_cooldown}% <white>後に使用可能"
- wait 20 tick
- stop effect "Failed"
- stop
- set {casting.%player%} to true
- play "entity.player.attack.sweep" to players at volume 10
- wait a tick
- set {sw.%player%.lastused} to now
- create a circle effect at player with id "sw" with particles sweepAttack with radius 1
- wait 5 ticks
- create a circle effect at player with id "sw2" with particles sweepAttack with radius 4
- wait 5 ticks
- create a circle effect at player with id "sw3" with particles sweepAttack with radius 7
- wait 5 ticks
- create a circle effect at player with id "sw4" with particles sweepAttack with radius 2
- wait 5 ticks
- create a circle effect at player with id "sw5" with particles sweepAttack with radius 5
- wait 5 ticks
- create a circle effect at player with id "sw6" with particles sweepAttack with radius 8
- wait 40 ticks
- if {casting.%player%} is false:
- stop effect "sw1"
- stop effect "sw2"
- stop effect "sw3"
- stop effect "sw4"
- stop effect "sw5"
- stop effect "sw6"
- stop
- set {casting.%player%} to false
- reduce level progress of player by 0
- loop all entities in radius 7 around player:
- make a fake explosion at loop-entity
- damage loop-entity by 5 hearts
- ignite loop-entity for 10 seconds
- extinguish the player
- stop effect "sw1"
- stop effect "sw2"
- stop effect "sw3"
- stop effect "sw4"
- stop effect "sw5"
- stop effect "sw6"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement