Jak to zrobic jak walne gracza to sie wyswietla to na bossbarze ale jak znowu walne to nie wyswietla moglby ktos to naprawic?
on quit:
{in.combat.%player%} is true
kill player
teleport player to {spawn}
broadcast "<light red>%player% zostal zabity za probe ucieczki z walki!"
delete {in.combat.%player%}
delete {seconds.until.out.%player%}
on damage:
victim is player
attacker is player
if {ochrona.%victim%} is true:
cancel event
if {ochrona.%attacker%} is true:
cancel event
else:
if {in.combat.%victim%} is true:
set {seconds.until.out.%victim%} to 10
stop
send "<light red>Jestes w walce. Nie wychodz z gry!" to victim
set {in.combat.%victim%} to true
execute console command "/ac %victim% &8&kl&r &c&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &4&l10.&k00&r &c&lSEKUND! &8&kl"
execute console command "/ac %attacker% &8&kl&r &c&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &4&l10.&k00&r &c&lSEKUND! &8&kl"
wait 1 second
execute console command "/ac %victim% &8&kl&r &c&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &4&l9.&k00&r &c&lSEKUND! &8&kl"
execute console command "/ac %attacker% &8&kl&r &c&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &4&l9.&k00&r &c&lSEKUND! &8&kl"
wait 1 second
execute console command "/ac %victim% &8&kl&r &c&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &4&l8.&k00&r &c&lSEKUND! &8&kl"
execute console command "/ac %attacker% &8&kl&r &c&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &4&l8.&k00&r &c&lSEKUND! &8&kl"
wait 1 second
execute console command "/ac %victim% &8&kl&r &c&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &4&l7.&k00&r &c&lSEKUND! &8&kl"
execute console command "/ac %attacker% &8&kl&r &c&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &4&l7.&k00&r &c&lSEKUND! &8&kl"
wait 1 second
execute console command "/ac %victim% &8&kl&r &c&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &4&l6.&k00&r &c&lSEKUND! &8&kl"
execute console command "/ac %attacker% &8&kl&r &c&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &4&l6.&k00&r &c&lSEKUND! &8&kl"
wait 1 second
execute console command "/ac %victim% &8&kl&r &c&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &4&l5.&k00&r &c&lSEKUND! &8&kl"
execute console command "/ac %attacker% &8&kl&r &c&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &4&l5.&k00&r &c&lSEKUND! &8&kl"
wait 1 second
execute console command "/ac %victim% &8&kl&r &c&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &4&l4.&k00&r &c&lSEKUND! &8&kl"
execute console command "/ac %attacker% &8&kl&r &c&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &4&l4.&k00&r &c&lSEKUND! &8&kl"
wait 1 second
execute console command "/ac %victim% &8&kl&r &c&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &4&l3.&k00&r &c&lSEKUND! &8&kl"
execute console command "/ac %attacker% &8&kl&r &c&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &4&l3.&k00&r &c&lSEKUND! &8&kl"
wait 1 second
execute console command "/ac %victim% &8&kl&r &c&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &4&l2.&k00&r &c&lSEKUND! &8&kl"
execute console command "/ac %attacker% &8&kl&r &c&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &4&l2.&k00&r &c&lSEKUND! &8&kl"
wait 1 second
execute console command "/ac %victim% &8&kl&r &c&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &4&l1.&k00&r &c&lSEKUND! &8&kl"
execute console command "/ac %attacker% &8&kl&r &c&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &4&l1.&k00&r &c&lSEKUND! &8&kl"
wait 1 second
execute console command "/ac %victim% &8&kl&r &a&lMOZESZ SIE JUZ WYLOGOWAC! &8&kl"
execute console command "/ac %attacker% &8&kl&r &a&lMOZESZ SIE JUZ WYLOGOWAC! &8&kl"
execute console command "/ac %victim% &8&kl&r &a&lMOZESZ SIE JUZ WYLOGOWAC! &8&kl"
execute console command "/ac %attacker% &8&kl&r &a&lMOZESZ SIE JUZ WYLOGOWAC! &8&kl"
execute console command "/ac %victim% &8&kl&r &a&lMOZESZ SIE JUZ WYLOGOWAC! &8&kl"
execute console command "/ac %attacker% &8&kl&r &a&lMOZESZ SIE JUZ WYLOGOWAC! &8&kl"
execute console command "/ac %victim% &8&kl&r &a&lMOZESZ SIE JUZ WYLOGOWAC! &8&kl"
execute console command "/ac %attacker% &8&kl&r &a&lMOZESZ SIE JUZ WYLOGOWAC! &8&kl"
execute console command "/ac %victim% &8&kl&r &a&lMOZESZ SIE JUZ WYLOGOWAC! &8&kl"
while {seconds.until.out.%victim%} is more than 1:
{seconds.until.out.%victim%} is not set:
stop
subtract 1 from {seconds.until.out.%victim%}
wait 1 second
delete {in.combat.%victim%}
delete {seconds.until.out.%victim%}
send "<light green>Mozesz sie bezpiecznie wylogowac" to victim
on death of player:
set {in.combat.%player%} to false
on damage:
victim is player
attacker is player
if {ochrona.%victim%} is true:
cancel event
if {ochrona.%attacker%} is true:
cancel event
else:
if {in.combat.%attacker%} is true:
set {seconds.until.out.%attacker%} to 10
stop
send "<light red>Jestes w walce. Nie wychodz z gry!" to attacker
display "ANTY-LOGOUT" on bossbar with 100 percent by 10 seconds for victim
set {in.combat.%attacker%} to true
set {seconds.until.out.%attacker%} to 10
while {seconds.until.out.%attacker%} is more than 1:
{seconds.until.out.%attacker%} is not set:
stop
subtract 1 from {seconds.until.out.%attacker%}
wait 1 second
delete {in.combat.%attacker%}
delete {seconds.until.out.%attacker%}
send "<light green>Mozesz sie bezpiecznie wylogowac" to attacker
on entering of region "spawn":
{in.combat.%player%} is true
cancel event
push the player upwards at speed 0.3
push the player horizontally forward at speed -1
send "&cKtos cie oderzyl, wiec nie mozesz teraz wrocic na bezpieczna strefe!"
On Place:
{in.combat.%player%} is true
if player's y-coordinate is smaller than 30:
cancel event
send "&cNie mozna stawiac blokow podczas pvp. &7(30y)" to player
on rightclick on ender chest:
{in.combat.%player%} is true
cancel event
send "&cEnderchesta nie mozna otwierac podczas pvp." to player
on join:
{in.combat.%player%} is set:
delete {in.combat.%player%}
{seconds.until.out.%player%} is set:
delete {seconds.until.out.%player%}
on command:
{in.combat.%player%} is true
if command is not "l", "login", "reg", "efekty", "efekt", "helpop", "bug", "zglos", "register", "ban", "msg", "r", "v", "ping", "tempban", "kick" or "zmienhaslo":
cancel event
send "&4&lANTYLOGOUT &8- &ckomenda /%command% jest zablokowana podczas pvp." to player
Pytanie
fitofep 4
Jak to zrobic jak walne gracza to sie wyswietla to na bossbarze ale jak znowu walne to nie wyswietla moglby ktos to naprawic?
on quit:
{in.combat.%player%} is true
kill player
teleport player to {spawn}
broadcast "<light red>%player% zostal zabity za probe ucieczki z walki!"
delete {in.combat.%player%}
delete {seconds.until.out.%player%}
on damage:
victim is player
attacker is player
if {ochrona.%victim%} is true:
cancel event
if {ochrona.%attacker%} is true:
cancel event
else:
if {in.combat.%victim%} is true:
set {seconds.until.out.%victim%} to 10
stop
send "<light red>Jestes w walce. Nie wychodz z gry!" to victim
set {in.combat.%victim%} to true
execute console command "/ac %victim% &8&kl&r &c&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &4&l10.&k00&r &c&lSEKUND! &8&kl"
execute console command "/ac %attacker% &8&kl&r &c&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &4&l10.&k00&r &c&lSEKUND! &8&kl"
wait 1 second
execute console command "/ac %victim% &8&kl&r &c&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &4&l9.&k00&r &c&lSEKUND! &8&kl"
execute console command "/ac %attacker% &8&kl&r &c&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &4&l9.&k00&r &c&lSEKUND! &8&kl"
wait 1 second
execute console command "/ac %victim% &8&kl&r &c&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &4&l8.&k00&r &c&lSEKUND! &8&kl"
execute console command "/ac %attacker% &8&kl&r &c&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &4&l8.&k00&r &c&lSEKUND! &8&kl"
wait 1 second
execute console command "/ac %victim% &8&kl&r &c&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &4&l7.&k00&r &c&lSEKUND! &8&kl"
execute console command "/ac %attacker% &8&kl&r &c&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &4&l7.&k00&r &c&lSEKUND! &8&kl"
wait 1 second
execute console command "/ac %victim% &8&kl&r &c&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &4&l6.&k00&r &c&lSEKUND! &8&kl"
execute console command "/ac %attacker% &8&kl&r &c&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &4&l6.&k00&r &c&lSEKUND! &8&kl"
wait 1 second
execute console command "/ac %victim% &8&kl&r &c&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &4&l5.&k00&r &c&lSEKUND! &8&kl"
execute console command "/ac %attacker% &8&kl&r &c&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &4&l5.&k00&r &c&lSEKUND! &8&kl"
wait 1 second
execute console command "/ac %victim% &8&kl&r &c&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &4&l4.&k00&r &c&lSEKUND! &8&kl"
execute console command "/ac %attacker% &8&kl&r &c&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &4&l4.&k00&r &c&lSEKUND! &8&kl"
wait 1 second
execute console command "/ac %victim% &8&kl&r &c&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &4&l3.&k00&r &c&lSEKUND! &8&kl"
execute console command "/ac %attacker% &8&kl&r &c&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &4&l3.&k00&r &c&lSEKUND! &8&kl"
wait 1 second
execute console command "/ac %victim% &8&kl&r &c&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &4&l2.&k00&r &c&lSEKUND! &8&kl"
execute console command "/ac %attacker% &8&kl&r &c&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &4&l2.&k00&r &c&lSEKUND! &8&kl"
wait 1 second
execute console command "/ac %victim% &8&kl&r &c&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &4&l1.&k00&r &c&lSEKUND! &8&kl"
execute console command "/ac %attacker% &8&kl&r &c&lJESTES PODCZAS WALKI, NIE LOGAJ PRZEZ &4&l1.&k00&r &c&lSEKUND! &8&kl"
wait 1 second
execute console command "/ac %victim% &8&kl&r &a&lMOZESZ SIE JUZ WYLOGOWAC! &8&kl"
execute console command "/ac %attacker% &8&kl&r &a&lMOZESZ SIE JUZ WYLOGOWAC! &8&kl"
execute console command "/ac %victim% &8&kl&r &a&lMOZESZ SIE JUZ WYLOGOWAC! &8&kl"
execute console command "/ac %attacker% &8&kl&r &a&lMOZESZ SIE JUZ WYLOGOWAC! &8&kl"
execute console command "/ac %victim% &8&kl&r &a&lMOZESZ SIE JUZ WYLOGOWAC! &8&kl"
execute console command "/ac %attacker% &8&kl&r &a&lMOZESZ SIE JUZ WYLOGOWAC! &8&kl"
execute console command "/ac %victim% &8&kl&r &a&lMOZESZ SIE JUZ WYLOGOWAC! &8&kl"
execute console command "/ac %attacker% &8&kl&r &a&lMOZESZ SIE JUZ WYLOGOWAC! &8&kl"
execute console command "/ac %victim% &8&kl&r &a&lMOZESZ SIE JUZ WYLOGOWAC! &8&kl"
while {seconds.until.out.%victim%} is more than 1:
{seconds.until.out.%victim%} is not set:
stop
subtract 1 from {seconds.until.out.%victim%}
wait 1 second
delete {in.combat.%victim%}
delete {seconds.until.out.%victim%}
send "<light green>Mozesz sie bezpiecznie wylogowac" to victim
on death of player:
set {in.combat.%player%} to false
on damage:
victim is player
attacker is player
if {ochrona.%victim%} is true:
cancel event
if {ochrona.%attacker%} is true:
cancel event
else:
if {in.combat.%attacker%} is true:
set {seconds.until.out.%attacker%} to 10
stop
send "<light red>Jestes w walce. Nie wychodz z gry!" to attacker
display "ANTY-LOGOUT" on bossbar with 100 percent by 10 seconds for victim
set {in.combat.%attacker%} to true
set {seconds.until.out.%attacker%} to 10
while {seconds.until.out.%attacker%} is more than 1:
{seconds.until.out.%attacker%} is not set:
stop
subtract 1 from {seconds.until.out.%attacker%}
wait 1 second
delete {in.combat.%attacker%}
delete {seconds.until.out.%attacker%}
send "<light green>Mozesz sie bezpiecznie wylogowac" to attacker
on entering of region "spawn":
{in.combat.%player%} is true
cancel event
push the player upwards at speed 0.3
push the player horizontally forward at speed -1
send "&cKtos cie oderzyl, wiec nie mozesz teraz wrocic na bezpieczna strefe!"
On Place:
{in.combat.%player%} is true
if player's y-coordinate is smaller than 30:
cancel event
send "&cNie mozna stawiac blokow podczas pvp. &7(30y)" to player
on rightclick on ender chest:
{in.combat.%player%} is true
cancel event
send "&cEnderchesta nie mozna otwierac podczas pvp." to player
on join:
{in.combat.%player%} is set:
delete {in.combat.%player%}
{seconds.until.out.%player%} is set:
delete {seconds.until.out.%player%}
on command:
{in.combat.%player%} is true
if command is not "l", "login", "reg", "efekty", "efekt", "helpop", "bug", "zglos", "register", "ban", "msg", "r", "v", "ping", "tempban", "kick" or "zmienhaslo":
cancel event
send "&4&lANTYLOGOUT &8- &ckomenda /%command% jest zablokowana podczas pvp." to player
Odnośnik do komentarza
https://skript.pl/temat/32247-jak-to-zrobic-z-antylogoutem/Udostępnij na innych stronach
0 odpowiedzi na to pytanie
Rekomendowane odpowiedzi
Dołącz do dyskusji
Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.