Advertisement
nabe0929

Untitled

Jun 27th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.02 KB | None | 0 0
  1. on right click:
  2. if name of tool of player contains "エクスカリバー":
  3. if {cooldown.excalibur.%player%} is 0:
  4. set {_y} to 0
  5. while {_y} is less than 11:
  6. set {_loc} to location of player
  7. add {_y} to y-coordinate of {_loc}
  8. show 20 spell instant particles at {_loc} offset by 0.2, 0, 0.2 with speed 0
  9. add 1 to {_y}
  10. set {_y} to 0
  11. while {_y} is less than 11:
  12. set {_loc} to location of player
  13. add 2 to x-coordinate of {_loc}
  14. add 2 to z-coordinate of {_loc}
  15. add {_y} to y-coordinate of {_loc}
  16. show 20 spell instant particles at {_loc} offset by 0.2, 0, 0.2 with speed 0
  17. add 1 to {_y}
  18. set {_y} to 0
  19. while {_y} is less than 11:
  20. set {_loc} to location of player
  21. add 2 to x-coordinate of {_loc}
  22. add -2 to z-coordinate of {_loc}
  23. add {_y} to y-coordinate of {_loc}
  24. show 20 spell instant particles at {_loc} offset by 0.2, 0, 0.2 with speed 0
  25. add 1 to {_y}
  26. set {_y} to 0
  27. while {_y} is less than 11:
  28. set {_loc} to location of player
  29. add -2 to x-coordinate of {_loc}
  30. add 2 to z-coordinate of {_loc}
  31. add {_y} to y-coordinate of {_loc}
  32. show 20 spell instant particles at {_loc} offset by 0.2, 0, 0.2 with speed 0
  33. add 1 to {_y}
  34. set {_y} to 0
  35. while {_y} is less than 11:
  36. set {_loc} to location of player
  37. add -2 to x-coordinate of {_loc}
  38. add -2 to z-coordinate of {_loc}
  39. add {_y} to y-coordinate of {_loc}
  40. show 20 spell instant particles at {_loc} offset by 0.2, 0, 0.2 with speed 0
  41. add 1 to {_y}
  42. loop entities in radius 5 around location of player:
  43. damage loop-entity by 20
  44. set {cooldown.excalibur.%player%} to 10
  45.  
  46. every second:
  47. loop all players:
  48. if {cooldown.excalibur.%loop-player%} is greater than 0:
  49. remove 1 from {cooldown.excalibur.%loop-player%}
  50. set {_ct} to {cooldown.excalibur.%loop-player%}
  51. set action bar of loop-player to "&2&lExcalibur: %{_ct}%sec"
  52. if {cooldown.excalibur.%loop-player%} is not set:
  53. set {cooldown.excalibur.%loop-player%} to 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement