Advertisement
Guest User

Untitled

a guest
Jun 12th, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. on rightclick with wood hoe:
  2. name of held item contains "prototype"
  3. set {_cooldown} to difference between {skill.%player%.lastused} and now
  4. if {_cooldown} is less than 1 seconds:
  5. stop
  6. play sound pack "entity.villager.death" to player at location of player
  7. shoot an arrow from player at speed 50
  8. set {skill.%player%.lastused} to now
  9. set {_num} to 0.5
  10. set {_Particle} to location of the block {_num} meter in front of player's head
  11. loop 250 times:
  12. show 10 Redstone particles at {_Particle} with color 15, 0, 0 offset by 0, 0, 0 with speed 30
  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.  
  18. on damage:
  19. damage was caused by projectile:
  20. projectile is an arrow:
  21. damage victim by 5 hearts
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement