Advertisement
herhor67

Zlamania

Apr 20th, 2014
399
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. on first join:
  2. set player's max health to 20
  3. heal player
  4.  
  5. variables:
  6. {noga.%player%} = false
  7. {reka.%player%} = false
  8.  
  9. on damage:
  10. damage is caused by fall:
  11. chance of 10%:
  12. set {noga.%victim%} to true
  13. apply Slowness 2 to victim for 9999999 days
  14. send "&4Zlamales sobie noge. Ulecz sie bandazem!" to victim
  15.  
  16. on break:
  17. chance of 1%:
  18. set {reka.%player%} to true
  19. send "&4Zlamales sobie reke. Ulecz sie bandazem!"
  20.  
  21. on click:
  22. player's tool is paper:
  23. {reka.%player%} is true:
  24. remove 1 paper from player
  25. send "&6Leczysz swoja reke"
  26. wait 10 seconds
  27. set {reka.%player%} to false
  28. send "&2Zostales uleczony"
  29. else:
  30. {noga.%player%} is true:
  31. remove 1 paper from player
  32. send "&6Leczysz swoja noge"
  33. wait 10 seconds
  34. set {noga.%player%} to false
  35. send "&2Zostales uleczony"
  36. remove Slowness from player
  37. else:
  38. {reka.%player%} is true:
  39. cancel event
  40. send "&4Masz zlamana reke, nie mozesz kopac! Ulecz sie bandazem!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement