# ANTYAURA SCRIPT # Autor: Fadex # Copyright 2016 # SPAWN EVENT every 15 seconds: loop all players: spawn zombie 2 meters above loop-player set name of last spawned zombie to "&4%loop-player%|ANTYAURA" set health of last spawned zombie to 1000 apply invisibility to last spawned zombie apply fire resistance to last spawned zombie wait 3 ticks loop all zombies: if name of loop-zombies contain "|ANTYAURA": delete loop-zombies # JOIN RESET EVENT on join: set {fxaura.%player%} to 0 # 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 5: loop all players: if loop-player have permission "fxaura.admin": send "&8» &7Sprawdzanie killaury gracza &4%attacker% &7(5)" to loop-player if {fxaura.%attacker%} is greater or equal to 10: clear {fxaura.%attacker%} set {fxaura.ban.%attacker%} to true broadcast "&8» &7Gracz &6%attacker% &7zostal permanentnie zbanowany przez &6ANTYCHEAT &7za: &6Cheaty (Killaura)" kick attacker due to "&8» &cZOSTALES ZBANOWANY &8«%nl%&8» &7Cheaty (Killaura)" # JOIN BAN EVENT on join: if {fxaura.ban.%player%} is true: kick player due to "&8» &cZOSTALES ZBANOWANY &8«%nl%&8» &7Cheaty (Killaura)" # CLEAR DROPS - ewentualne zabezpieczenie on death of zombie: if name of victim contain "ANTYAURA": clear drops # DAMAGE - blokada ataku on damage: victim is zombie if name of victim contain "ANTYAURA": cancel event