Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on rightclick with wood hoe:
- name of held item contains "prototype"
- set {_cooldown} to difference between {skill.%player%.lastused} and now
- if {_cooldown} is less than 1 seconds:
- stop
- play sound pack "entity.villager.death" to player at location of player
- shoot an arrow from player at speed 50
- 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:
- damage was caused by projectile:
- projectile is an arrow:
- damage victim by 5 hearts
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement