Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on rightclick with diamond hoe:
- name of held item contains "Anti"
- set {_cooldown} to difference between {skill.%player%.lastused} and now
- if {_cooldown} is less than 2 seconds:
- stop
- play sound pack "entity.villager.death" to player at location of player
- shoot an arrow from player at speed 100
- set {skill.%player%.lastused} to now
- set {_num} to 0.5
- set {_Particle} to location of the block {_num} meter in front of player's head
- loop 250 times:
- show 10 Redstone particles at {_Particle} with color 15, 0, 0 offset by 0, 0, 0 with speed 30
- 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
- on damage:
- projectile is arrow
- attacker's tool is diamond hoe
- set damage to 6.5
- on projectile hit:
- if projectile is an arrow:
- delete projectile
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement