AdamGrzegorz

x

Dec 27th, 2014
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1.  
  2.  
  3.  
  4.  
  5. on leftclick:
  6. if player's tool is bow:
  7. if {bow::%player%} is not set:
  8. set {bow::%player%} to "normal"
  9. send "&8> &fTryb strzal: &6Normalne"
  10. stop
  11. if {bow::%player%} is "normal":
  12. set {bow::%player%} to "poison"
  13. send "&8> &fTryb strzal: &6Zatrute"
  14. stop
  15. if {bow::%player%} is "poison":
  16. set {bow::%player%} to "fire"
  17. send "&8> &fTryb strzal: &6Ogniste"
  18. stop
  19. if {bow::%player%} is "fire":
  20. set {bow::%player%} to "web"
  21. send "&8> &fTryb strzal: &6Pajeczate"
  22. stop
  23. if {bow::%player%} is "web":
  24. set {bow::%player%} to "normal"
  25. send "&8> &fTryb strzal: &6Normalne"
  26. stop
  27.  
  28. on projectile hit:
  29. if projectile is an arrow:
  30. if {bow::%shooter%} is "normal":
  31. stop
  32.  
  33.  
  34. on damage:
  35. projectile exists
  36. attacker is player
  37. if {bow:%attacker%} is "poison":
  38. apply poison to victim for 10 second
  39. stop
  40. if {bow:%attacker%} is "fire":
  41. ignite victim for 10 seconds
  42. stop
  43.  
  44. command /tryb:
  45. trigger:
  46. send "&8> &6%{bow::%player%}%"
Advertisement
Add Comment
Please, Sign In to add comment