Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on right click:
- if name of tool of player contains "エクスカリバー":
- if {cooldown.excalibur.%player%} is 0:
- set {_y} to 0
- while {_y} is less than 11:
- set {_loc} to location of player
- add {_y} to y-coordinate of {_loc}
- show 20 spell instant particles at {_loc} offset by 0.2, 0, 0.2 with speed 0
- add 1 to {_y}
- set {_y} to 0
- while {_y} is less than 11:
- set {_loc} to location of player
- add 2 to x-coordinate of {_loc}
- add 2 to z-coordinate of {_loc}
- add {_y} to y-coordinate of {_loc}
- show 20 spell instant particles at {_loc} offset by 0.2, 0, 0.2 with speed 0
- add 1 to {_y}
- set {_y} to 0
- while {_y} is less than 11:
- set {_loc} to location of player
- add 2 to x-coordinate of {_loc}
- add -2 to z-coordinate of {_loc}
- add {_y} to y-coordinate of {_loc}
- show 20 spell instant particles at {_loc} offset by 0.2, 0, 0.2 with speed 0
- add 1 to {_y}
- set {_y} to 0
- while {_y} is less than 11:
- set {_loc} to location of player
- add -2 to x-coordinate of {_loc}
- add 2 to z-coordinate of {_loc}
- add {_y} to y-coordinate of {_loc}
- show 20 spell instant particles at {_loc} offset by 0.2, 0, 0.2 with speed 0
- add 1 to {_y}
- set {_y} to 0
- while {_y} is less than 11:
- set {_loc} to location of player
- add -2 to x-coordinate of {_loc}
- add -2 to z-coordinate of {_loc}
- add {_y} to y-coordinate of {_loc}
- show 20 spell instant particles at {_loc} offset by 0.2, 0, 0.2 with speed 0
- add 1 to {_y}
- loop entities in radius 5 around location of player:
- damage loop-entity by 20
- set {cooldown.excalibur.%player%} to 10
- every second:
- loop all players:
- if {cooldown.excalibur.%loop-player%} is greater than 0:
- remove 1 from {cooldown.excalibur.%loop-player%}
- set {_ct} to {cooldown.excalibur.%loop-player%}
- set action bar of loop-player to "&2&lExcalibur: %{_ct}%sec"
- if {cooldown.excalibur.%loop-player%} is not set:
- set {cooldown.excalibur.%loop-player%} to 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement