#Autor: Pan Pierdziadek #Nazwa Pluginu: BesterAnty-Logout #YouTube Autora Skruptu: Pan Pierdziadek #Wersja: 1.0 # variables: {walka.%player%} = false on damage of player: set {walka.%victim%} to true set {walka.%attacker%} to true if {walka.%victim%} is true: display "&cAnty-Logout" on bossbar with 100 percent by 1 seconds for victim display "&cAnty-Logout" on bossbar with 100 percent by 1 seconds for attacker if {walka.%victim%} is true: wait 1 seconds display "&cUdezyl ktos Ciebie!" on bossbar with 90 percent by 1 seconds for victim display "&cUderzyles kogos!" on bossbar with 90 percent by 1 seconds for attacker if {walka.%victim%} is true: wait 1 seconds display "&cAnty-Logout" on bossbar with 80 percent by 1 seconds for victim display "&cAnty-Logout" on bossbar with 80 percent by 1 seconds for attacker if {walka.%victim%} is true: wait 1 seconds display "&cUdezyl ktos Ciebie!" on bossbar with 70 percent by 1 seconds for victim display "&cUderzyles kogos!" on bossbar with 70 percent by 1 seconds for attacker if {walka.%victim%} is true: wait 1 seconds display "&cAnty-Logout" on bossbar with 60 percent by 1 seconds for victim display "&cAnty-Logout" on bossbar with 60 percent by 1 seconds for attacker if {walka.%victim%} is true: wait 1 seconds display "&cUdezyl ktos Ciebie!" on bossbar with 50 percent by 1 seconds for victim display "&cUderzyles kogos!" on bossbar with 50 percent by 1 seconds for attacker if {walka.%victim%} is true: wait 1 seconds display "&cAnty-Logout" on bossbar with 40 percent by 1 seconds for victim display "&cAnty-Logout" on bossbar with 40 percent by 1 seconds for attacker if {walka.%victim%} is true: wait 1 seconds display "&cUdezyl ktos Ciebie!" on bossbar with 30 percent by 1 seconds for victim display "&cUderzyles kogos!" on bossbar with 30 percent by 1 seconds for attacker if {walka.%victim%} is true: wait 1 seconds display "&cAnty-Logout" on bossbar with 20 percent by 1 seconds for victim display "&cAnty-Logout" on bossbar with 20 percent by 1 seconds for attacker if {walka.%victim%} is true: wait 1 seconds display "&cUdezyl ktos Ciebie!" on bossbar with 10 percent by 1 seconds for victim display "&cUderzyles kogos!" on bossbar with 10 percent by 1 seconds for attacker if {walka.%victim%} is true: wait 1 seconds set {walka.%victim%} to false set {walka.%attacker%} to false if {walka.%victim%} is false: clear boss bar of %player% display "&2Skonczyles walke, mozesz sie wylogowac." on bossbar with 1 percent by 10 seconds for victim display "&2Skonczyles walke, mozesz sie wylogowac." on bossbar with 1 percent by 10 seconds for attacker if {walka.%attacker%} is true: display "&cAnty-Logout" on bossbar with 100 percent by 1 seconds for victim display "&cAnty-Logout" on bossbar with 100 percent by 1 seconds for attacker if {walka.%attacker%} is true: wait 1 seconds display "&cUdezyl ktos Ciebie!" on bossbar with 90 percent by 1 seconds for victim display "&cUderzyles kogos!" on bossbar with 90 percent by 1 seconds for attacker if {walka.%attacker%} is true: wait 1 seconds display "&cAnty-Logout" on bossbar with 80 percent by 1 seconds for victim display "&cAnty-Logout" on bossbar with 80 percent by 1 seconds for attacker if {walka.%attacker%} is true: wait 1 seconds display "&cUdezyl ktos Ciebie!" on bossbar with 70 percent by 1 seconds for victim display "&cUderzyles kogos!" on bossbar with 70 percent by 1 seconds for attacker if {walka.%attacker%} is true: wait 1 seconds display "&cAnty-Logout" on bossbar with 60 percent by 1 seconds for victim display "&cAnty-Logout" on bossbar with 60 percent by 1 seconds for attacker if {walka.%attacker%} is true: wait 1 seconds display "&cUdezyl ktos Ciebie!" on bossbar with 50 percent by 1 seconds for victim display "&cUderzyles kogos!" on bossbar with 50 percent by 1 seconds for attacker if {walka.%attacker%} is true: wait 1 seconds display "&cAnty-Logout" on bossbar with 40 percent by 1 seconds for victim display "&cAnty-Logout" on bossbar with 40 percent by 1 seconds for attacker if {walka.%attacker%} is true: wait 1 seconds display "&cUdezyl ktos Ciebie!" on bossbar with 30 percent by 1 seconds for victim display "&cUderzyles kogos!" on bossbar with 30 percent by 1 seconds for attacker if {walka.%attacker%} is true: wait 1 seconds display "&cAnty-Logout" on bossbar with 20 percent by 1 seconds for victim display "&cAnty-Logout" on bossbar with 20 percent by 1 seconds for attacker if {walka.%attacker%} is true: wait 1 seconds display "&cUdezyl ktos Ciebie!" on bossbar with 10 percent by 1 seconds for victim display "&cUderzyles kogos!" on bossbar with 10 percent by 1 seconds for attacker if {walka.%attacker%} is true: wait 1 seconds set {walka.%victim%} to false set {walka.%attacker%} to false if {walka.%attacker%} is false: clear boss bar of %player% display "&2Skonczyles walke, mozesz sie wylogowac." on bossbar with 1 percent by 10 seconds for victim display "&2Skonczyles walke, mozesz sie wylogowac." on bossbar with 1 percent by 10 seconds for attacker on quit: if {walka.%player%} is true: kill player broadcast "&cGracz &2%player% &cwylogowal sie podczas walki." set {walka.%player%} to false