# SKRIPT BY BLOODYMEN - ZAKAZ USUWANIA 1 LINIJKI. MILEGO UZYTKOWANIA # command /ackb []: permission: bloodyx.antycheat permission message: &cNie posiadasz uprawnien. trigger: if argument 1 is not set: send "&8(&4BloodyX Anti-Cheat&8) &7BLAD (podaj nick gracza do sprawdzenia)" else: send "&c%sender% rozpoczal test ANTY-KNOCK dla %argument 1%" to all ops set {_knockmiejsce.%argument 1%} to location of argument 1 send "&8(&4&lBAC&8) &7Sprawdzanie gracza rozpoczelo sie!" wait 2 tick apply slowness 9999 to argument 1 set {KNOCKTESTOWANY::%argument 1%} to 1 push the argument 1 horizontally forward at speed 0.5 wait 5 tick push the argument 1 horizontally forward at speed 0.5 wait 5 tick push the argument 1 horizontally forward at speed 0.5 wait 5 tick remove slowness from argument 1 teleport argument 1 to {_knockmiejsce.%argument 1%} set {KNOCKTESTOWANY::%argument 1%} to 0 wait 2 tick if {KNOCKTEST::%argument 1%} is bigger than 2: set {KNOCKTEST::%argument 1%} to 0 send "&8(&4&lBAC&8) &7Wynik sprawdzania gracza %argument 1%." to sender send "&7Wynik: &aGracz nie posiada NoKnock. " to sender else: set {KNOCKTEST::%argument 1%} to 0 send "&8(&4&lBAC&8) &7Wynik sprawdzania gracza %argument 1%." to sender send "&7Wynik: &cGracz posiada NoKnock. " to sender on walk on grass block or dirt or sand or glass or stone or cobblestone or water: if {KNOCKTESTOWANY::%player%} is 1: add 1 to {KNOCKTEST::%player%}