Advertisement
4everNdeavor

1.9 Arrows

Jun 5th, 2015
480
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.26 KB | None | 0 0
  1. Options:
  2. prefix: &7[&91.9 Arrows&7]&r
  3. N: &3&l%command sender%
  4.  
  5. command /opnarrows <text>:
  6. permission: skript.op
  7. trigger:
  8. if arg 1 is equal to "enable":
  9. if {opnarrows} is true:
  10. message "{@prefix} Already Enabled!"
  11. else:
  12. set {opnarrows} to true
  13. broadcast "{@prefix} Enabled by {@N}"
  14. else if arg 1 is equal to "disable":
  15. if {opnarrows} is false:
  16. broadcast "{@prefix} Already Disabled!"
  17. else:
  18. set {opnarrows} to false
  19. broadcast "{@prefix} Disabled by {@N}"
  20. else if arg 1 is equal to "toggle":
  21. if {opnarrows} is false:
  22. set {opnarrows} to true
  23. broadcast "{@prefix} Enabled by {@N}"
  24. else:
  25. set {opnarrows} to false
  26. broadcast "{@prefix} Disabled by {@N}"
  27.  
  28. on damage of player:
  29. {opnarrows} is true
  30. projectile exists
  31. projectile is an arrow
  32. chance of 5%:
  33. apply speed 1 to victim for 10 seconds
  34. chance of 5%:
  35. apply strength 1 to victim for 10 seconds
  36. chance of 5%:
  37. apply poison 1 to victim for 5 seconds
  38. chance of 5%:
  39. apply nausea 1 to victim for 5 seconds
  40. chance of 5%:
  41. apply weakness 1 to victim for 10 seconds
  42. chance of 5%:
  43. apply slowness 1 to victim for 5 seconds
  44. chance of 5%:
  45. apply jump boost 1 to victim for 10 seconds
  46. chance of 5%:
  47. apply resistance 1 to victim for 5 seconds
  48. chance of 5%:
  49. apply invisibility 1 to victim for 10 seconds
  50. chance of 5%:
  51. apply blindness 1 to victim for 5 seconds
  52. chance of 5%:
  53. apply hunger 1 to victim for 10 seconds
  54. chance of 5%:
  55. apply wither 1 to victim for 5 seconds
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement