Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /NAGIHARAI:
- trigger:
- if {NAGIHARAI::%player%} is more than 0:
- send "cooldown"
- stop
- set {_l} to location of player
- set {_y} to yaw of player
- set pitch of {_l} to 0
- set yaw of {_l} to {_y}
- set {_l} to location of block 1 forward {_l}
- set yaw of {_l} to {_y}
- set {_l1} to location of block 1 left {_l}
- set {_l2} to location of block 1 right {_l}
- set yaw of {_l2} to {_y}
- set {_l2} to location of block 1 forward {_l2}
- set {_l2} to location of block 1 above {_l2}
- set {_l} to line 2 of lore of tool of player
- set {_l::*} to {_l} split at "&3"
- set {_a} to ({_l::2} parsed as number) / 2
- loop blocks within {_l1} to {_l2}:
- loop living entities in radius 1 of location of loop-block:
- loop-entity is not armor stand or player
- damage loop-entity by {_a} hearts
- push loop-entity above at force .2
- play sound "entity.player.attack.sweep" with volume .5 at loop-entity
- command "/particle sweep_attack %x-coord of loop-entity% %y-coord of loop-entity + 1% %z-coord of loop-entity% 0 0 0 0 1"
- set {NAGIHARAI::%player%} to {NAGIHARAI}
- every second:
- loop all players:
- remove 1 from {NAGIHARAI::%loop-player%}
- command /skillcooldown <string> <number>:
- permission: sk.admin
- trigger:
- set {%arg-1%} to arg-2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement