Guest User

Code

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