Advertisement
CREAMPAN0408

Untitled

Mar 26th, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.20 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_ghast_shoot" 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 sweepAttack with radius 1
  18. wait 5 ticks
  19. create a circle effect at player with id "sw2" with particles sweepAttack with radius 4
  20. wait 5 ticks
  21. create a circle effect at player with id "sw3" with particles sweepAttack with radius 7
  22. wait 5 ticks
  23. create a circle effect at player with id "sw4" with particles sweepAttack with radius 2
  24. wait 5 ticks
  25. create a circle effect at player with id "sw5" with particles sweepAttack with radius 5
  26. wait 5 ticks
  27. create a circle effect at player with id "sw6" with particles sweepAttack with radius 8
  28. wait 40 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 7 around player:
  40. make a fake explosion at loop-entity
  41. damage loop-entity by 5 hearts
  42. ignite loop-entity for 10 seconds
  43. extinguish the player
  44. stop effect "sw1"
  45. stop effect "sw2"
  46. stop effect "sw3"
  47. stop effect "sw4"
  48. stop effect "sw5"
  49. stop effect "sw6"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement