Advertisement
midorimusi1111

rittaikidou

May 21st, 2019
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.06 KB | None | 0 0
  1. on leftclick:
  2. name of held item contains "立体起動装置"
  3. set {_num} to 0.5
  4. set {_Particle} to location of the block {_num} meter in front of player's head
  5. set {_cooldown} to difference between {Clow.%player%.lastused} and now
  6. if {_cooldown} is less than 3 seconds:
  7. stop
  8. set {Clow.%player%.lastused} to now
  9. wait 3 ticks
  10. if player is not sneaking:
  11. loop 80 times:
  12. show 1 crit particles at {_Particle} offset by 0, 0, 0 with speed 0.01
  13. set {_num} to {_num} + 0.5
  14. set {_Particle} to location of the block {_num} meter infront of player's head
  15. if the block {_num} meter infront of player's head is not air:
  16. stop loop
  17. set {MUTEKI.%player%} to 1
  18. wait 5 ticks
  19. push the player forwards at speed 10
  20. wait 5 ticks
  21. loop 5 times:
  22. execute console command "execute %player% ~ ~ ~ /playsound minecraft:entity.player.attack.sweep master @a ~ ~ ~ 1 1"
  23. execute console command "execute %player% ~ ~ ~ /particle sweepAttack ~ ~0.5 ~ 1 0 1 0.1 10 force"
  24. push the player upwards at speed 0.1
  25. push the player forwards at speed 0.1
  26. wait 2 ticks
  27. loop all entities in radius 8 around player:
  28. if loop-entity is not player:
  29. make player damage loop-entity by 8
  30. stop loop
  31. loop 5 times:
  32. execute console command "execute %player% ~ ~ ~ /playsound minecraft:entity.player.attack.sweep master @a ~ ~ ~ 1 1"
  33. execute console command "execute %player% ~ ~ ~ /particle sweepAttack ~ ~0.5 ~ 1 0 1 0.1 10 force"
  34. push the player upwards at speed 0.1
  35. push the player forwards at speed 0.1
  36. wait 2 ticks
  37. if player is sneaking:
  38. loop 80 times:
  39. show 1 crit particles at {_Particle} offset by 0, 0, 0 with speed 0.01
  40. set {_num} to {_num} + 0.5
  41. set {_Particle} to location of the block {_num} meter infront of player's head
  42. if the block {_num} meter infront of player's head is not air:
  43. stop loop
  44. wait 5 ticks
  45. push the player forwards at speed 10
  46. loop 20 times:
  47. push the player forwards at speed 0.1
  48. set {MUTEKI.%player%} to 0
  49. on rightclick:
  50. name of held item contains "立体起動装置"
  51. set {_cooldown} to difference between {Clow2.%player%.lastused} and now
  52. if {_cooldown} is less than 4 ticks:
  53. stop
  54. set {Clow2.%player%.lastused} to now
  55. if player is sneaking:
  56. loop 5 times:
  57. push the player upwards at speed 0.1
  58. push the player forwards at speed 0.1
  59. show 1 cloud particles at player offset by 0, 0, 0 with speed 0.01
  60. wait a tick
  61. if player is not sneaking:
  62. loop 5 times:
  63. push the player upwards at speed 0.1
  64. push the player backwards at speed 0.1
  65. show 1 cloud particles at player offset by 0, 0, 0 with speed 0.01
  66. wait a tick
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement