Advertisement
perry206

Untitled

Oct 17th, 2014
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. on damage of a player:
  2. set {walka.%attacker%} to 20
  3. set {walka.%victim%} to 20
  4. every 1 second:
  5. loop all players:
  6. if {walka.%loop-player%} is bigger than 0:
  7. set {walka.%loop-player%} to {walka.%loop-player%}-1
  8. display "&l&bJestes podczas walki" on bossbar with 100 percent by 20 seconds for loop-player
  9. on quit:
  10. {walka.%player%} is true:
  11. set {walka.%player%} to false
  12. kill player
  13. on command:
  14. {walka.%player%} is true:
  15. cancel event
  16. send "&eNie mozesz uzywac komend podczas walki!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement