So this is a simple Script, that detects suspicious actions from client-side:
- No Reload
- Unallowed Weapons
- Rapid Fire
- Vehicle Fly and Speedhacks
- Static Godmodes and Healkeys
When you teleport, heal or respawn the player, use the 'client:respawning' event.
If you want to use something like Medkits or Respawns you need to trigger the 'client:respawning' event, which disables the AntiCheat for some seconds, otherwise the player gets flagged.
Do your own thing for Vehicle Flyhack flagging, because on my server, you don't do those big Car Stuntjumps, where you fly like 30m high. Maybe remove that flagging.
NOTE: There are many reasons that can cause false flags, for example high-ping or low fps.
Dont ever autoban people with this!