Pleased Put it in a Code field.
how can i do it?
[doublepost=1579996954,1579996924][/doublepost]on damage:
if victim is player:
loop all players:
if loop-player's ping < 130:
set {location1.%loop-player%} to loop-player's location
wait 2 ticks
set {location2.%loop-player%} to loop-player's location
if {location1.%loop-player%} = {location2.%loop-player%}:
loop all players:
loop-player-2 has permission "anticheat.notify":
message "&8(&c&lAntiCheat&8) &e> &c%attacker% &7Looks like he's using &cAntiKnockback&7: &8(&b%ping of loop-player% ms&8)" to loop-player-2
[doublepost=1579997050][/doublepost]on damage:
if victim is player:
loop all players:
if loop-player's ping < 130:
set {location1.%loop-player%} to loop-player's location
wait 2 ticks
set {location2.%loop-player%} to loop-player's location
if {location1.%loop-player%} = {location2.%loop-player%}:
loop all players:
loop-player-2 has permission "anticheat.notify":
message "&8(&c&lAntiCheat&8) &e> &c%attacker% &7Looks like he's using &cAntiKnockback&7: &8(&b%ping of loop-player% ms&8)" to loop-player-2
[doublepost=1579997085][/doublepost]idk how to do that sry
[doublepost=1579997331][/doublepost]
Code:
on damage:
if victim is player:
loop all players:
if loop-player's ping < 130:
set {location1.%loop-player%} to loop-player's location
wait 2 ticks
set {location2.%loop-player%} to loop-player's location
if {location1.%loop-player%} = {location2.%loop-player%}:
loop all players:
loop-player-2 has permission "anticheat.notify":
message "&8(&c&lAntiCheat&8) &e> &c%attacker% &7Looks like he's using &cAntiKnockback&7: &8(&b%ping of loop-player% ms&8)" to loop-player-2
[doublepost=1579997361][/doublepost]oh ok, here it is, and sry for spam