Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on damage:
- if attacker is a player:
- if victim is a player:
- attacker's gamemode is not creative
- set {_distance} to distance between attacker and victim
- if {_distance} > 5:
- if damage cause is not a projectile:
- loop all players:
- loop-player is op:
- send "&6[AntiCheat] &c%attacker% &9Reach has been detected &c(%{_distance}%)" to loop-player
Add Comment
Please, Sign In to add comment