Witam, mam skrypt na anty aure i chciałbym żeby zamiast zombie był fake-stive
Mam wszystkie pluginy do fake-stive
Kod:
Spoiler
every 15 seconds:
loop all players:
spawn zombie 1 meters behind loop-player
set name of last spawned zombie to "&4%loop-player%|ANTYAURA"
set health of last spawned zombie to 1000
apply invisibility 9999 to last spawned zombie
apply slowness 9999 to last spawned zombie
apply fire resistance to last spawned zombie
wait 2 seconds
loop all zombies:
if name of loop-zombies contain "|ANTYAURA":
delete loop-zombies
# HIT EVENT
on damage:
victim is zombie
if name of victim is "&4%attacker%|ANTYAURA":
cancel event
add 1 to {fxaura.%attacker%}
if {fxaura.%attacker%} is 1:
loop all players:
if loop-player have permission "fxaura.admin":
send "&8» &4%attacker% &7jest podejrzany o &4KillAure" to loop-player
if {fxaura.%attacker%} is greater or equal to 5:
clear {fxaura.%attacker%}
set {fxaura.ban.%attacker%} to true
broadcast "&8» &7Gracz &6%attacker% &7zostal permanentnie zbanowany przez &6ANTYCHEAT &7za: &6Cheaty (Killaura)"
execute console command "ban %attacker% &4Cheaty (KillAura)"
# CLEAR DROPS - ewentualne zabezpieczenie
on death of zombie:
if name of victim contain "ANTYAURA":
clear drops
# DAMAGE - blokada obrażeń dla gracza [ewentualne]
on damage:
attacker is zombie
if name of attacker contain "|ANTYAURA":
cancel event
Pytanie
Szybki_Johny 2
Witam, mam skrypt na anty aure i chciałbym żeby zamiast zombie był fake-stive
Mam wszystkie pluginy do fake-stive
Kod:
every 15 seconds:
loop all players:
spawn zombie 1 meters behind loop-player
set name of last spawned zombie to "&4%loop-player%|ANTYAURA"
set health of last spawned zombie to 1000
apply invisibility 9999 to last spawned zombie
apply slowness 9999 to last spawned zombie
apply fire resistance to last spawned zombie
wait 2 seconds
loop all zombies:
if name of loop-zombies contain "|ANTYAURA":
delete loop-zombies
# HIT EVENT
on damage:
victim is zombie
if name of victim is "&4%attacker%|ANTYAURA":
cancel event
add 1 to {fxaura.%attacker%}
if {fxaura.%attacker%} is 1:
loop all players:
if loop-player have permission "fxaura.admin":
send "&8» &4%attacker% &7jest podejrzany o &4KillAure" to loop-player
if {fxaura.%attacker%} is greater or equal to 5:
clear {fxaura.%attacker%}
set {fxaura.ban.%attacker%} to true
broadcast "&8» &7Gracz &6%attacker% &7zostal permanentnie zbanowany przez &6ANTYCHEAT &7za: &6Cheaty (Killaura)"
execute console command "ban %attacker% &4Cheaty (KillAura)"
# CLEAR DROPS - ewentualne zabezpieczenie
on death of zombie:
if name of victim contain "ANTYAURA":
clear drops
# DAMAGE - blokada obrażeń dla gracza [ewentualne]
on damage:
attacker is zombie
if name of attacker contain "|ANTYAURA":
cancel event
Odnośnik do komentarza
https://skript.pl/temat/12343-problem-z-anty-aur%C4%85/Udostępnij na innych stronach
6 odpowiedzi na to pytanie
Rekomendowane odpowiedzi