# AUTHOR: xfreduz # # WERSJA 0.1 # # KANAL NA YT: https://www.youtube.com/channel/UCq5mpjZB0BPkK7CkZtRTysw # variables: {reach.%player%} = false options: reach: &cZbanowano na &4SERWER&c: &4'&cZostales zbanowany!, CONSOLE: Serwer, Powod: &eKILLAURA! kb: &cZbanowano na &4SERWER&c: &4'&cZostales zbanowany!, CONSOLE: Serwer, Powod: &eANTYKNOCKBACK! makro: &cWyrzucono z &4SERWERc: &4'&cZostales wyrzucony!, CONSOLE: Serwer, Powod: &eMacro max 12cps! #KILLAURA on damage: if attacker is a player: if victim is a player: projectile doesn't exist if distance between attacker and victim is bigger than 5.4: cancel event broadcast "&4Gracz %attacker% zostal zbanowany za: KILLAURA przez: CONSOLE" set {reach.%attacker%} to true log "Nick: %attacker% Powod: KILLAURA" to "AntyCheatBans" strike lightning effect at attacker kick attacker due to "{@reach}" else: stop command /acub []: permission: acub.adm permission message: &cI'm, sprry, but you do not have permission to perform this command. Please contact the server adminisrtators if you believe that this is in error. trigger: if arg 1 is set: send "&4Odbanowano: %arg 1%" set {reach.%arg 1%} to false set {kb.%arg 1%} to false if arg 1 is not set: send "&7» &cPoprawne uzycie: &7/acub " #ANTYKNOCKBACK command /antynokb []: permission: antycheat.nokb permission message: &cI'm, sprry, but you do not have permission to perform this command. Please contact the server adminisrtators if you believe that this is in error. trigger: if arg 1 is not set: send "&7» &cPoprawne uzycie: &7/antynokb " else: set {antyknock::%arg 1%} to 1 apply slowness 9999 to arg 1 for 2 seconds wait a tick push the argument 1 horizontally forward at speed 2 wait 1 second set {antyknock::%arg 1%} to 0 wait 3 seconds if {nienokb::%argument 1%} is 1: set {nienokb::%argument 1%} to 0 set {noknock::%arg 1%} to 0 send "&4Gracz nie posiada ANTYKNOCKBACK!" else: send "&4Gracz posiada ANTYKNOCKBACK!" broadcast "&4Gracz %arg 1% zostal zbanowany za: ANTYKNOCKBACK przez: CONSOLE" set {noknock::%arg 1%} to 1 log "Nick: %arg 1% Powod: ANTYKNOCKBACK" to "AntyCheatBans" set {kb.%arg 1%} to true kick arg 1 due to "{@kb}" every 180 second: loop all players: execute server command "antynokb %loop-player%" on any move: if {antyknock::%player%} is 1: set {nienokb::%player%} to 1 wait 5 second set {nienokb::%player%} to 0 #MAKRO MAX 12 CPS on leftclick: add 1 to {click.%player%} if {click.%player%} = 120: kick the player due to "{@makro}" every 12 seconds: loop all players: clear {click.%loop-player%} #BANY on connect: if {reach.%player%} is true: kick player due to "{@reach}" on connect: if {kb.%player%} is true: kick player due to "{@kb}"