Guest User

Fleche

a guest
Jun 13th, 2016
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. on right click with a fence:
  2. if {cooldown1.%player%} isn't set:
  3. set {cooldown1.%player%} to now
  4. stop
  5. set {_waited1} to difference between {cooldown1.%player%} and now
  6. if {_waited1} is less than 10 seconds:
  7. send "&cTu dois encore attendre %difference between {_waited1} and 10 seconds%"
  8. else:
  9. shoot an arrow
  10. set {cooldown1.%player%} to now
  11. on damage:
  12. create a safe explosion of force 2
  13.  
  14. on right click with a bucket:
  15. if {cooldown2.%player%} isn't set:
  16. set {cooldown2.%player%} to now
  17. stop
  18. set {_waited2} to difference between {cooldown2.%player%} and now
  19. if {_waited2} is less than 10 seconds:
  20. send "&cTu dois encore attendre %difference between {_waited2} and 10 seconds%"
  21. else:
  22. shoot an arrow
  23. set {cooldown2.%player%} to now
  24. on damage:
  25. push the victim backwards at speed 4
  26.  
  27. on right click with a dirt:
  28. if {cooldown.%player%3} isn't set:
  29. set {cooldown.%player%3} to now
  30. stop
  31. set {_waited3} to difference between {cooldown3.%player%} and now
  32. if {_waited3} is less than 10 seconds:
  33. send "&cTu dois encore attendre %difference between {_waited3} and 10 seconds%"
  34. else:
  35. shoot an arrow
  36. set {cooldown3.%player%} to now
  37. on damage:
  38. poison the victim for 5 seconds
Advertisement
Add Comment
Please, Sign In to add comment