Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on leftclick:
- name of held item contains "立体起動装置"
- set {_num} to 0.5
- set {_Particle} to location of the block {_num} meter in front of player's head
- set {_cooldown} to difference between {Clow.%player%.lastused} and now
- if {_cooldown} is less than 3 seconds:
- stop
- set {Clow.%player%.lastused} to now
- wait 3 ticks
- if player is not sneaking:
- loop 80 times:
- show 1 crit particles at {_Particle} offset by 0, 0, 0 with speed 0.01
- set {_num} to {_num} + 0.5
- set {_Particle} to location of the block {_num} meter infront of player's head
- if the block {_num} meter infront of player's head is not air:
- stop loop
- set {MUTEKI.%player%} to 1
- wait 5 ticks
- push the player forwards at speed 10
- wait 5 ticks
- loop 5 times:
- execute console command "execute %player% ~ ~ ~ /playsound minecraft:entity.player.attack.sweep master @a ~ ~ ~ 1 1"
- execute console command "execute %player% ~ ~ ~ /particle sweepAttack ~ ~0.5 ~ 1 0 1 0.1 10 force"
- push the player upwards at speed 0.1
- push the player forwards at speed 0.1
- wait 2 ticks
- loop all entities in radius 8 around player:
- if loop-entity is not player:
- make player damage loop-entity by 8
- stop loop
- loop 5 times:
- execute console command "execute %player% ~ ~ ~ /playsound minecraft:entity.player.attack.sweep master @a ~ ~ ~ 1 1"
- execute console command "execute %player% ~ ~ ~ /particle sweepAttack ~ ~0.5 ~ 1 0 1 0.1 10 force"
- push the player upwards at speed 0.1
- push the player forwards at speed 0.1
- wait 2 ticks
- if player is sneaking:
- loop 80 times:
- show 1 crit particles at {_Particle} offset by 0, 0, 0 with speed 0.01
- set {_num} to {_num} + 0.5
- set {_Particle} to location of the block {_num} meter infront of player's head
- if the block {_num} meter infront of player's head is not air:
- stop loop
- wait 5 ticks
- push the player forwards at speed 10
- loop 20 times:
- push the player forwards at speed 0.1
- set {MUTEKI.%player%} to 0
- on rightclick:
- name of held item contains "立体起動装置"
- set {_cooldown} to difference between {Clow2.%player%.lastused} and now
- if {_cooldown} is less than 4 ticks:
- stop
- set {Clow2.%player%.lastused} to now
- if player is sneaking:
- loop 5 times:
- push the player upwards at speed 0.1
- push the player forwards at speed 0.1
- show 1 cloud particles at player offset by 0, 0, 0 with speed 0.01
- wait a tick
- if player is not sneaking:
- loop 5 times:
- push the player upwards at speed 0.1
- push the player backwards at speed 0.1
- show 1 cloud particles at player offset by 0, 0, 0 with speed 0.01
- wait a tick
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement