Guest User

patyk

a guest
Nov 16th, 2016
399
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. command /dajpatyk:
  2. permission: patyk
  3. trigger:
  4. give stick named "&2Patyk" to player
  5. send "&2Dostales patyk"
  6. on right click with stick:
  7. player's tool's name is "&2Patyk":
  8. make player shoot egg at speed 1.5
  9. On shoot:
  10. if projectile is egg:
  11. shooter's tool's name is "&2Patyk":
  12. set {patyk.%projectile%} to 1
  13. on damage:
  14. if projectile is egg:
  15. if {patyk.%projectile%} is 1:
  16. create a fake explosion
  17. set {patyk.%projectile%} to 0
  18. On Projectile Hit:
  19. if projectile is egg:
  20. if {patyk.%projectile%} is 1:
  21. set {_a} to location of projectile
  22. loop blocks in radius 2 around {_a}:
  23. loop-block is air:
  24. set loop-blocks to cobweb
  25. wait 5 second
  26. loop blocks in radius 2 around {_a}:
  27. loop-block is cobweb:
  28. set loop-block to air
  29. wait 0.2 second
Advertisement
Add Comment
Please, Sign In to add comment