Advertisement
CREAMPAN0408

Untitled

Feb 27th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. on lightclick holding diamond hoe:
  2. player's tool is enchanted with unbreaking 1
  3. if level of player is more than 10:
  4. set {_cooldown} to difference between {IceShot.%player%.lastused} and now
  5. if {_cooldown} is less than 20.5 seconds:
  6. stop
  7. play "block_glass_break" to player at volume 10
  8. reduce level progress of player by 0
  9. shoot a snowball at speed 2
  10. set {_num} to 0.5
  11. set {_Particle} to location of the block {_num} meter in front of player's head
  12. loop 30 times:
  13. show 10 water splash particles at {_Particle} offset by 0, 0, 0
  14. set {_num} to {_num} + 0.5
  15. set {_Particle} to location of the block {_num} meter infront of player's head
  16. if the block {_num} meter infront of player's head is not air:
  17. stop loop
  18. set {IceShot.%player%.lastused} to now
  19. else:
  20. play "entity_ghast_shoot" to player at volume 10
  21. create a circle effect at player with id "Failed" with particles SMOKE NORMAL with radius 1
  22. message "<blue>このスキルには10Lv以上のXPが必要です!"
  23. wait 20 tick
  24. stop effect "Failed"
  25.  
  26. on damage:
  27. projectile is snowball
  28. attacker's tool is diamond hoe
  29. damage victim by 3 hearts
  30. apply slow 1 to the victim for 3 seconds
  31. create a circle effect at victim with id "Prison" with particles drip water with radius 1
  32. wait 30 tick
  33. stop effect "Prison"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement