Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on first join:
- set player's max health to 20
- heal player
- variables:
- {noga.%player%} = false
- {reka.%player%} = false
- on damage:
- damage is caused by fall:
- chance of 10%:
- set {noga.%victim%} to true
- apply Slowness 2 to victim for 9999999 days
- send "&4Zlamales sobie noge. Ulecz sie bandazem!" to victim
- on break:
- chance of 1%:
- set {reka.%player%} to true
- send "&4Zlamales sobie reke. Ulecz sie bandazem!"
- on click:
- player's tool is paper:
- {reka.%player%} is true:
- remove 1 paper from player
- send "&6Leczysz swoja reke"
- wait 10 seconds
- set {reka.%player%} to false
- send "&2Zostales uleczony"
- else:
- {noga.%player%} is true:
- remove 1 paper from player
- send "&6Leczysz swoja noge"
- wait 10 seconds
- set {noga.%player%} to false
- send "&2Zostales uleczony"
- remove Slowness from player
- else:
- {reka.%player%} is true:
- cancel event
- send "&4Masz zlamana reke, nie mozesz kopac! Ulecz sie bandazem!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement