Advertisement
CREAMPAN0408

Untitled

Mar 26th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.82 KB | None | 0 0
  1. on rightclick holding wooden sword:
  2. name of held item contains "&7&l千撃の剣"
  3. the block below the player is not air
  4. if level of player is more than 0:
  5. set {_cooldown} to difference between {sw.%player%.lastused} and now
  6. if {_cooldown} is less than 35 seconds:
  7. play "entity_player_attack_sweep" to players at volume 10
  8. create a circle effect at player with id "Failed" with particles SMOKE NORMAL with radius 1
  9. message "<pink>%difference between 35 seconds and {_cooldown}% <white>後に使用可能"
  10. wait 20 tick
  11. stop effect "Failed"
  12. stop
  13. set {casting.%player%} to true
  14. play "entity_player_attack_sweep" to players at volume 10
  15. wait a tick
  16. set {sw.%player%.lastused} to now
  17. create a circle effect at player with id "sw" with particles sweep Attack with radius 1
  18. wait 5 ticks
  19. create a circle effect at player with id "sw2" with particles sweep Attack with radius 4
  20. wait 5 ticks
  21. create a circle effect at player with id "sw3" with particles sweep Attack with radius 7
  22. wait 5 ticks
  23. create a circle effect at player with id "sw4" with particles sweep Attack with radius 2
  24. wait 5 ticks
  25. create a circle effect at player with id "sw5" with particles sweep Attack with radius 5
  26. wait 5 ticks
  27. create a circle effect at player with id "sw6" with particles sweep Attack with radius 8
  28. wait 5 ticks
  29. if {casting.%player%} is false:
  30. stop effect "sw1"
  31. stop effect "sw2"
  32. stop effect "sw3"
  33. stop effect "sw4"
  34. stop effect "sw5"
  35. stop effect "sw6"
  36. stop
  37. set {casting.%player%} to false
  38. reduce level progress of player by 0
  39. loop all entities in radius 5 around player:
  40. damage loop-entity by 3 hearts
  41. extinguish the player
  42. stop effect "sw1"
  43. stop effect "sw2"
  44. stop effect "sw3"
  45. stop effect "sw4"
  46. stop effect "sw5"
  47. stop effect "sw6"
  48. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement