every 1 minute:
loop all players:
create citizen 1 meters above loop-player
set {antyaura.1} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or "a" or "A" or "b" or "B" or "c" or "C" or "d" or "D" or "e" or "E" or "f" or "F" or "g" or "G" or "h" or "H" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "S" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z"
set {antyaura.2} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or "a" or "A" or "b" or "B" or "c" or "C" or "d" or "D" or "e" or "E" or "f" or "F" or "g" or "G" or "h" or "H" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "S" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z"
set {antyaura.3} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or "a" or "A" or "b" or "B" or "c" or "C" or "d" or "D" or "e" or "E" or "f" or "F" or "g" or "G" or "h" or "H" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "S" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z"
set {antyaura.4} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or "a" or "A" or "b" or "B" or "c" or "C" or "d" or "D" or "e" or "E" or "f" or "F" or "g" or "G" or "h" or "H" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "S" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z"
set {antyaura.5} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or "a" or "A" or "b" or "B" or "c" or "C" or "d" or "D" or "e" or "E" or "f" or "F" or "g" or "G" or "h" or "H" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "S" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z"
set {antyaura.6} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or "a" or "A" or "b" or "B" or "c" or "C" or "d" or "D" or "e" or "E" or "f" or "F" or "g" or "G" or "h" or "H" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "S" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z"
set {antyaura.sprawdzanie} to "%{antyaura.1}%%{antyaura.2}%%{antyaura.3}%%{antyaura.4}%%{antyaura.5}%%{antyaura.6}%"
set name of last spawned entity to "%{antyaura.sprawdzanie}%&8|&cANTYAURA"
set max health of last spawned entity to 1000
if {Invisibility} is true:
apply Invisibility 3 to last spawned entity
apply fire resistance 3 to last spawned entity
else:
apply fire resistance 3 to last spawned entity
wait 5 ticks
kill last spawned entity
on damage:
attacker is player
if name of victim is "%{antyaura.sprawdzanie}%&8|&cANTYAURA":
cancel event
add 1 to {antycheat::%attacker%}
if {antycheat::%attacker%} is 1:
loop all players:
if loop-player has permission "antycheat.odczyt":
send "&8» &7Gracz &4%attacker% &7uderzyl bota! &7(1)" to loop-player
if {antycheat::%attacker%} is 2:
loop all players:
if loop-player has permission "antycheat.odczyt":
send "&8» &7Gracz &4%attacker% &7uderzyl bota! &7(2)" to loop-player
if {antycheat::%attacker%} is 3:
loop all players:
if loop-player has permission "antycheat.odczyt":
send "&8» &7Gracz &4%attacker% &7uderzyl bota! &7(3)" to loop-player
if {antycheat::%attacker%} is 4:
loop all players:
if loop-player has permission "antycheat.odczyt":
send "&8» &7Gracz &4%attacker% &7uderzyl bota! &7(4)" to loop-player
if {antycheat::%attacker%} is bigger or equal to 5:
clear {antycheat::%attacker%}
set {antycheat.ban::%attacker%} to true
broadcast "&8» &7Gracz &6%attacker% &7zostal permanentnie zbanowany przez &6ANTYCHEAT &7za: &6Cheaty (Killaura)"
add 1 to {antycheat.globalnalista}
execute console command "ban %attacker% &cANTYCHEAT: &cBOTY 5/5"
every 5 day:
loop all players:
set {antycheat::%loop-player%} to 0
broadcast "&cANTYCHEAT&8: &7ZRESETOWANO STATYSTYKI ANTYCHEATA!"
broadcast "&cANTYCHEAT&8: &7ZOBACZ ILOSC BANOW, PRZEZ ANTYCHEATA: &e/antycheat staty"
stop
command /antycheat [<text>]:
aliases: anticheat, ac, ac+, eac, eanticheat, scanticheat, coreanticheat, antyaura , ar, antiaura
trigger:
if arg-1 is set:
if arg-1 is "staty" or "statystyki":
send "&cANTYCHEAT&8: &7Zbanowani gracze przez antycheata: &e{antycheat.globalnalista}"
stop
if arg-1 is not "staty" or "statystyki":
send "&cANTYCHEAT&8: &7Dostepne argumenty: &e/antycheat staty"
stop
if arg-1 is not set:
send "&cANTYCHEAT&8: &7Uzyj &e/antycheat staty"
stop
command /resetuj [<offlineplayer=%player%>]:
executable by: console
trigger:
set {antycheat.ban::%arg-1%} to false
on damage:
if name of victim contain "ANTYAURA":
cancel event
set max health of victim to 1000
Pluginy na serwerze (Skript, Citizens, SkQuery-Lime, Umbaska, Repuska), wersja serwera 1.11.2.
Wyskakuje błąd:
Serwer po chwili się crashuje albo odmawia wpisywania komend (po wpisaniu nic nie wyskakuje w grze ani na konsoli)
Pytanie
Nieaktywny
Dzień dobry,
Mam problem z skryptem
#ANTYAURA
#WYMAGANE CITIZENS
variables:
{Invisibility} = true #niewidzialnosc true-tak false-nie
every 1 minute:
loop all players:
create citizen 1 meters above loop-player
set {antyaura.1} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or "a" or "A" or "b" or "B" or "c" or "C" or "d" or "D" or "e" or "E" or "f" or "F" or "g" or "G" or "h" or "H" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "S" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z"
set {antyaura.2} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or "a" or "A" or "b" or "B" or "c" or "C" or "d" or "D" or "e" or "E" or "f" or "F" or "g" or "G" or "h" or "H" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "S" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z"
set {antyaura.3} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or "a" or "A" or "b" or "B" or "c" or "C" or "d" or "D" or "e" or "E" or "f" or "F" or "g" or "G" or "h" or "H" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "S" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z"
set {antyaura.4} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or "a" or "A" or "b" or "B" or "c" or "C" or "d" or "D" or "e" or "E" or "f" or "F" or "g" or "G" or "h" or "H" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "S" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z"
set {antyaura.5} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or "a" or "A" or "b" or "B" or "c" or "C" or "d" or "D" or "e" or "E" or "f" or "F" or "g" or "G" or "h" or "H" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "S" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z"
set {antyaura.6} to 0 or 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or "a" or "A" or "b" or "B" or "c" or "C" or "d" or "D" or "e" or "E" or "f" or "F" or "g" or "G" or "h" or "H" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "S" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z"
set {antyaura.sprawdzanie} to "%{antyaura.1}%%{antyaura.2}%%{antyaura.3}%%{antyaura.4}%%{antyaura.5}%%{antyaura.6}%"
set name of last spawned entity to "%{antyaura.sprawdzanie}%&8|&cANTYAURA"
set max health of last spawned entity to 1000
if {Invisibility} is true:
apply Invisibility 3 to last spawned entity
apply fire resistance 3 to last spawned entity
else:
apply fire resistance 3 to last spawned entity
wait 5 ticks
kill last spawned entity
on damage:
attacker is player
if name of victim is "%{antyaura.sprawdzanie}%&8|&cANTYAURA":
cancel event
add 1 to {antycheat::%attacker%}
if {antycheat::%attacker%} is 1:
loop all players:
if loop-player has permission "antycheat.odczyt":
send "&8» &7Gracz &4%attacker% &7uderzyl bota! &7(1)" to loop-player
if {antycheat::%attacker%} is 2:
loop all players:
if loop-player has permission "antycheat.odczyt":
send "&8» &7Gracz &4%attacker% &7uderzyl bota! &7(2)" to loop-player
if {antycheat::%attacker%} is 3:
loop all players:
if loop-player has permission "antycheat.odczyt":
send "&8» &7Gracz &4%attacker% &7uderzyl bota! &7(3)" to loop-player
if {antycheat::%attacker%} is 4:
loop all players:
if loop-player has permission "antycheat.odczyt":
send "&8» &7Gracz &4%attacker% &7uderzyl bota! &7(4)" to loop-player
if {antycheat::%attacker%} is bigger or equal to 5:
clear {antycheat::%attacker%}
set {antycheat.ban::%attacker%} to true
broadcast "&8» &7Gracz &6%attacker% &7zostal permanentnie zbanowany przez &6ANTYCHEAT &7za: &6Cheaty (Killaura)"
add 1 to {antycheat.globalnalista}
execute console command "ban %attacker% &cANTYCHEAT: &cBOTY 5/5"
every 5 day:
loop all players:
set {antycheat::%loop-player%} to 0
broadcast "&cANTYCHEAT&8: &7ZRESETOWANO STATYSTYKI ANTYCHEATA!"
broadcast "&cANTYCHEAT&8: &7ZOBACZ ILOSC BANOW, PRZEZ ANTYCHEATA: &e/antycheat staty"
stop
command /antycheat [<text>]:
aliases: anticheat, ac, ac+, eac, eanticheat, scanticheat, coreanticheat, antyaura , ar, antiaura
trigger:
if arg-1 is set:
if arg-1 is "staty" or "statystyki":
send "&cANTYCHEAT&8: &7Zbanowani gracze przez antycheata: &e{antycheat.globalnalista}"
stop
if arg-1 is not "staty" or "statystyki":
send "&cANTYCHEAT&8: &7Dostepne argumenty: &e/antycheat staty"
stop
if arg-1 is not set:
send "&cANTYCHEAT&8: &7Uzyj &e/antycheat staty"
stop
command /resetuj [<offlineplayer=%player%>]:
executable by: console
trigger:
set {antycheat.ban::%arg-1%} to false
on damage:
if name of victim contain "ANTYAURA":
cancel event
set max health of victim to 1000
Pluginy na serwerze (Skript, Citizens, SkQuery-Lime, Umbaska, Repuska), wersja serwera 1.11.2.
Wyskakuje błąd:
Serwer po chwili się crashuje albo odmawia wpisywania komend (po wpisaniu nic nie wyskakuje w grze ani na konsoli)
Odnośnik do komentarza
https://skript.pl/temat/20396-b%C5%82%C4%85d-w-skrypcie-na-ac/Udostępnij na innych stronach
6 odpowiedzi na to pytanie
Rekomendowane odpowiedzi