Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Autor: Twaq
- #Wersja: 2.0
- #Kontakt skype: mateusz.michalski525
- variables:
- {walka.%player%} = false
- {ban.%player%} = false
- options:
- PASEK: ANTY-LOGOUT
- on damage of player:
- if {walka.%victim%} is false:
- set {walka.%victim%} to true
- display "{@PASEK}" on bossbar with 100 percent by 10 seconds for victim
- wait 1 second
- display "{@PASEK}" on bossbar with 95 percent by 10 seconds for victim
- wait 1 second
- display "{@PASEK}" on bossbar with 90 percent by 10 seconds for victim
- wait 1 second
- display "{@PASEK}" on bossbar with 85 percent by 10 seconds for victim
- wait 1 second
- display "{@PASEK}" on bossbar with 80 percent by 10 seconds for victim
- wait 1 second
- display "{@PASEK}" on bossbar with 75 percent by 10 seconds for victim
- wait 1 second
- display "{@PASEK}" on bossbar with 70 percent by 10 seconds for victim
- wait 1 second
- display "{@PASEK}" on bossbar with 65 percent by 10 seconds for victim
- wait 1 second
- display "{@PASEK}" on bossbar with 60 percent by 10 seconds for victim
- wait 1 tick
- display "{@PASEK}" on bossbar with 55 percent by 10 seconds for victim
- wait 1 second
- display "{@PASEK}" on bossbar with 50 percent by 10 seconds for victim
- wait 1 second
- display "{@PASEK}" on bossbar with 45 percent by 10 seconds for victim
- wait 1 second
- display "{@PASEK}" on bossbar with 40 percent by 10 seconds for victim
- wait 1 second
- display "{@PASEK}" on bossbar with 35 percent by 10 seconds for victim
- wait 1 second
- display "{@PASEK}" on bossbar with 30 percent by 10 seconds for victim
- wait 1 second
- display "{@PASEK}" on bossbar with 25 percent by 10 seconds for victim
- wait 1 second
- display "{@PASEK}" on bossbar with 20 percent by 10 seconds for victim
- wait 1 second
- display "{@PASEK}" on bossbar with 15 percent by 10 seconds for victim
- wait 1 second
- display "{@PASEK}" on bossbar with 10 percent by 10 seconds for victim
- wait 1 second
- display "{@PASEK}" on bossbar with 5 percent by 10 seconds for victim
- wait 1 second
- display "{@PASEK}" on bossbar with 5 percent by 1 seconds for victim
- set {walka.%victim%} to false
- stop
- on quit:
- if {walka.%player%} is true:
- clear the player's inventory
- set {walka.%player%} to false
- kill player
- broadcast "&cGracz &6[%player%] &cWylogowal sie podczas walki!"
- stop
- command /logout [<player>]:
- trigger:
- if arg 1 is not set:
- if {walka.%player%} is false:
- send "&c> CZY MOZESZ LOGNAC: &aTAK"
- if {walka.%player%} is true:
- send "&c> CZY MOZESZ LOGNAC: &4NIE!"
- if arg 1 is set:
- if {walka.%player%} is false:
- send "&c> CZY &6[%arg 1%] &cMOZE LOGNAC: &aTAK"
- if {walka.%player%} is true:
- send "&c> CZY &6[%arg 1%] &cMOZE LOGNAC: &4NIE"
Advertisement
Add Comment
Please, Sign In to add comment