Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {heal.%player%} = 0
- {healdelay.%player%} = 0
- on rightclick with a any sword:
- if name of player's tool is "&4Miecz zycia":
- if {heal.%player%} is 0:
- damage tool by 30
- add 1 to {heal.%player%}
- add 5 to the player's health
- add 10 to player's hunger
- create a fake explosion at location of player
- play 100 of effect "heart" with data 1 at player
- apply regeneration 2 to the player for 5 seconds
- apply absorption 10 to the player for 5 seconds
- send "<red>Uzyles Health Boost'a"
- add 20 to {healdelay.%player%}
- loop 20 times:
- wait 1 second
- remove 1 from {healdelay.%player%}
- remove 1 from {heal.%player%}
- else:
- send "Musisz poczekać <aqua>%{healdelay.%player%}% sekund"
Advertisement
Add Comment
Please, Sign In to add comment