Anti Kill Desync
This script is a solution for servers having issues where in most cases players get desynchronized in getting a headshot with no death specially when taking a headshot before they roll on the floor, now players will no longer abuse rolling on the floor to avoid headshots and the script will kill them instantly.
Most RP servers have this issue and this script offers a workaround to kill players over a clear headshot if they got desynced.
This script is Standalone so you can use it over your server for ESX / QBCore / VRP or any other framework
Example this GIF show the differance
Before :
After:
Features
- Accurate headshot kill tracking and force to kill players
- Server logs for system kill
- Highly configurable script and clean for additional development
- Blind zones where you can add areas where this system wont work and can be added as circular or poly zone
- Screen effect when player killed
Resmon Usage
The script is optimized to only 0.02ms
Config
The script is too configurable with events for custom development
Client-side
Config = {}
Config.DEBUG = false
Config.DeathEffect = true
Config.OverrideDeathEffectName = ""
Config.OverrideDeathEffectStrength = 0.6
Config.OverrideDeathEffectEnd = function()
--TriggerEvent('AUScripts_filters:Reset') -- IF USING FILTERS SCRIPT
ClearTimecycleModifier()
end
Config.BlindZoneSettings = 0 -- 0 used to disable blind zones, 1 used for circular blind zones, 2 used for poly blind zones
Config.CircularBlindZones = {
{position = vector3(931.99395751953, -800.58990478516, 37.463401794434) , radius = 10.0}, -- ZONE 1
}
Config.PolyBlindZones = {
{ -- ZONE 1
vector2(-789.52, -1103.47),
vector2(-991.02, -1216.93),
vector2(-938.64, -1312.50),
vector2(-833.33, -1267.80),
},
}
Server-side
Config = {}
Config.DEBUG = false
Config.Webhook = ''
Config.WebhookName = 'AUScripts Anti De-Sync'
Config.WebhookLogo = 'https://i.imgur.com/7aLRkcR.png'
Config.WebhookTitle = 'Death Tracking'
Config.WebhookColor = 3299817
Events
Client-side
AddEventHandler('AUScripts_AntiDeSync:SyncKill',function()
Server-side
AddEventHandler('AUScripts_AntiDeSync:SyncKillLog', function(source, target, weaponhash)
Updates
V2.0.0 20/11/2022
- Optimized resource usage from 0.06ms to 0.02ms
- Added config files for client and server
- Fixed false hitbox check where players get killed without shooting other player head
- Added Blind zones to add safe zones from triggering logs or kills
Purchase
Tebex (15$) : Click ME
Checkout other release “Anti Third Person Aim Glitches + Left Peak”
You can get both scripts for (25$) : Click ME
Installation & Usage
Purchase the resource from Tebex and wait until you receive the download in your email, or access it via your purchased assets in the keymaster - https://keymaster.fivem.net/
In your server.cfg add “ensure AUScripts_AntiDeSync” to it, don’t try to change the resource name or won’t work.
Code is accessible | config / events only |
Subscription-based | No |
Lines (approximately) | 250 |
Requirements | None |
Support | Yes |