Anti-Tank & Anti-Desync System | enhance the PvP experience

A script by Fancazista

No reviews yet.
Anti-Tank & Anti-Desync System | enhance the PvP experience main image

Price

Unknown

Full Description

FANCA Anti-Tank & Anti-Desync System


fanca_antitank ensures that when a player is supposed to die, they will die. No more tanking, no more kill-desync, no more unfair situations.

If the video doesn’t load, open the showcase on YouTube: https://youtu.be/BsLjfsT8SkA


:shield: Core Combat Fixes

  • Removes tanking completely.
  • Anti-kill-desync: synchronized death handling.
  • Anti-desync: ensures consistent hit registration across all players.
  • Optional revive system (on death, on script start, or via /revive).
  • Ignore godmode players with ACE bypass support.
  • Weapon-based distance checks for fair PvP balance.
  • Bypasses client-side godmode and forces death even on cheaters (with ACE group bypass support).

:dart: Advanced Headshot System

  • Disable helmet armor.
  • Option to disable headshots entirely.
  • Force death after X headshots (configurable).
  • Define one-shot headshot weapons (e.g., pistols, revolvers).
  • Extra bones detection (neck, etc.).
  • Multiple layered detection systems to ensure every death, hit, and headshot is registered accurately.

:desktop_computer: Killfeed & HUD Reticle

  • Custom killfeed with configurable duration, animations, and NPC support.
  • Internal index.html file (killfeed UI) is fully editable.
  • GTA default killfeed is removed by default, but can be re-enabled.
  • Optional HUD reticle versions:
    • Default (v1): removes GTA killfeed cross (red/white X).
    • Version 2 (v2): same as above, but reticle no longer turns red when aiming at players.
    • Full control: keep GTA killfeed, use custom, or both (see docs).

:notes: Visual & Audio Effects

  • Custom screen effects for killer and victim.
  • Configurable sound effects on kill/death.
  • Optional slow motion effect when dying.
  • Camera shake & cinematic third-person camera on death.

:alembic: Advanced Detection Systems

  • Multiple detection methods for headshots, death, and hit registration.
  • Fully optimized to prevent desyncs and tanking.
  • Ensures smooth, fast, and accurate PvP combat.
  • Debug mode for testing and fine-tuning.

  • :video_game: Game-changing – revolutionizes PvP: kills are smooth, fast, and precise.
  • :jigsaw: Multiple-layer detection – combined hit registration systems for headshots and general hits to avoid false-negatives and tanking.
  • :gear: Server-side forced death – all critical death logic runs server-side to prevent client manipulation and ensure consistent state across players.
  • :shield: ACE bypass & godmode handling – safe handling of godmode users with configurable ACE group bypass rules.
  • :fire: No more tanking – players cannot survive unintentionally anymore thanks to synchronized forced-death procedures.
  • :person_cartwheeling: Flawless acrobatics – rolas and movement will no longer produce desync-related “revive-standup” glitches.
  • :dart: Fluid & fair PvP – every encounter feels precise, rewarding, and balanced due to weapon-distance checks and layered detection.
  • :speech_balloon: Support is available through Discord – join the support server for help, custom requests and updates.

:books: Full documentation is available here:
:point_right: Script Docs & Events: Anti-Tank / Anti-Desync System | Documentation

Inside you’ll find:

  • All client/server events triggered by the script (for custom logic, logging, or integrations).
  • Detailed explanation of the killfeed/reticle system.
  • How to re-enable GTA’s killfeed, remove it completely, or remove both the killfeed and the red reticle indicator when aiming at a player.

  1. Purchase the script from Tebex.
  2. Extract the resource folder into your server’s resources.
  3. Add start fanca_antitank in your server.cfg.

What you can customize about the script:

  • config.lua – main config (ready out of the box, already set up perfectly).
  • config_server.lua – server-side config.
  • web/index.html – killfeed design (default mimics GTA’s native killfeed).

Both configs come pre-set perfectly, but you can easily remove or adjust features at will.

Click below to see the config preview:

📄 Config (config.lua)
Config = {}

Config.logLevelClient = 1           -- 0 = Disable logs, 1 = Info, 2 = Warning, 3 = Error, 4 = Debug
Config.logLevelServer = 0           -- 0 = Disable logs, 1 = Info, 2 = Warning, 3 = Error, 4 = Debug

Config.benchmark = false            -- Set to true if you want to enable the benchmark system (you can see the time it takes to kill a player)
Config.reviveCommand = false        -- Set to true if you want to enable the revive command (use /revive to revive yourself)
Config.reviveOnScriptStart = false  -- Revive the player when the script starts
Config.reviveOnDeath = false        -- Revive the playerId when he dies (after 5 seconds from the death)

Config.disableHelmetArmor = true    -- Set to true if you want to disable the helmet armor
Config.disableHeadshots = false     -- Set to true if you want to disable headshot hits
Config.hitDedupDebounceMs = 350     -- Minimum time in ms to ignore duplicate hits on the same player

Config.forceDeathAfterHeadshots = 2 -- Number of headshots needed before forcing the death of the player
Config.oneHeadshotWeapons = {       -- Weapons that will kill the player with one headshot (even if the player has armor)
    [`WEAPON_PISTOL`] = true,
    [`WEAPON_PISTOL_MK2`] = true,
    [`WEAPON_COMBATPISTOL`] = true,
    [`WEAPON_APPISTOL`] = true,
    [`WEAPON_REVOLVER`] = true,
    [`WEAPON_REVOLVER_MK2`] = true,
    [`WEAPON_MACHINEPISTOL`] = true,
    [`WEAPON_PISTOL50`] = true,
    [`WEAPON_HEAVYPISTOL`] = true,
    [`WEAPON_MARKSMANPISTOL`] = true,
    [`WEAPON_DOUBLEACTION`] = true,
    [`WEAPON_VINTAGEPISTOL`] = true,
    [`WEAPON_SNSPISTOL`] = true,
    [`WEAPON_SNSPISTOL_MK2`] = true,
}

Config.extraBones = { -- Extra bones to detect as headshots
    [39317] = true,   -- Neck
    [35731] = true,   -- Neck (RB)
}

Config.extraComponents = { -- Extra components to detect
    [19] = true,           -- Neck
}

Config.ignoreGodmode = true -- Set to true if you want to ignore godmode
Config.bypassAcePerms = {   -- Players with these ACE permissions will NOT be killed even if godmode is enabled and ignoreGodmode is true.
    -- ["permission"] = true,
}
Config.maxValidDistance = 500.0    -- Maximum distance to detect the player (in meters)
Config.maxValidDistanceWeapons = { -- Maximum distance to detect the player with a specific weapon (in meters)
    -- [`WEAPON_PISTOL`] = 150.0, -- example
}
Config.killLockTimeout = 1000 -- Time (in milliseconds) used to "claim" a target after a kill/registration is received

Config.hideReticle = false    -- Set to true if you want to hide the reticle when aiming at a player (also disable the cross when you kill a player)
-- Config.fixRedCross = true -- Set to true if you want to let the red cross appear on the player when he kills another player otherwise it will appear as an assist
Config.customKillFeed = {
    -- If you want to delete the default GTA killfeed, leave "hud_reticle.gfx" in the streams folder.
    -- For more details on how the killfeed works and how to customize it, please read the README.md file.
    enabled = true,        -- Set to true if you want to use the custom kill feed
    duration = 350,        -- Duration of the kill feed in milliseconds
    useImage = true,       -- Use an image instead of the manually created killfeed shape
    showAnimation = false, -- Play the pop-scale animation when showing the killfeed
    showForNPCs = true,    -- Set to true if you want the kill feed to also show kills involving NPCs (bots/peds)
}

Config.excludedWeapons = { -- Excluded weapons from the anti-tank system
    [`WEAPON_UNARMED`] = true,
    [`WEAPON_STUNGUN`] = true,
    [`WEAPON_FIREEXTINGUISHER`] = true,
    [`WEAPON_FLAREGUN`] = true,
    [`WEAPON_PETROLCAN`] = true,
    [`WEAPON_HOMINGLAUNCHER`] = true,
    [`WEAPON_RPG`] = true,
    [`WEAPON_MINIGUN`] = true,
    [`WEAPON_GRENADELAUNCHER`] = true,
    [`WEAPON_GRENADELAUNCHER_SMOKE`] = true,
    [`WEAPON_COMPACTLAUNCHER`] = true,
    [`WEAPON_RAILGUN`] = true,
    [`WEAPON_RAYMINIGUN`] = true,
    [`WEAPON_RAYPISTOL`] = true,
    [`WEAPON_RAYCARBINE`] = true,
    [`WEAPON_BZGAS`] = true,
    [`WEAPON_GRENADE`] = true,
    [`WEAPON_SMOKEGRENADE`] = true,
    [`WEAPON_STICKYBOMB`] = true,
    [`WEAPON_PROXMINE`] = true,
    [`WEAPON_PIPEBOMB`] = true,
    [`WEAPON_MOLOTOV`] = true,
    [`WEAPON_SNOWBALL`] = true,
    [`WEAPON_FIREWORK`] = true,
    [`WEAPON_BALL`] = true,
    [`WEAPON_KNIFE`] = true,
    [`WEAPON_NIGHTSTICK`] = true,
    [`WEAPON_HAMMER`] = true,
    [`WEAPON_BAT`] = true,
    [`WEAPON_CROWBAR`] = true,
    [`WEAPON_BOTTLE`] = true,
    [`WEAPON_DAGGER`] = true,
    [`WEAPON_WRENCH`] = true,
    [`WEAPON_FLASHLIGHT`] = true,
    [`WEAPON_SWITCHBLADE`] = true,
    [`WEAPON_MACHETE`] = true,
    [`WEAPON_BATTLEAXE`] = true,
    [`WEAPON_HATCHET`] = true,
}

-- Screen effect
Config.effectDuration = 2500            -- Duration of the screen effects in milliseconds
Config.victimEffect = "DeathFailOut"    -- Effect for the victim (set to "" to disable)
Config.killerEffect = "SuccessFranklin" -- Effect for the killer (set to "" to disable)

-- Sound effect
Config.audioNameKiller = "COLLECTED" -- Name of the audio (set to "" to disable)
Config.audioNameVictim = "LOSER"     -- Name of the audio (set to "" to disable)
Config.audioRef = "HUD_AWARDS"       -- Reference of the audio (set to "" to disable)

-- Slow motion on death
Config.slowMotion = {
    enabled = true,  -- Set to false to disable
    duration = 2000, -- Duration of the slow motion in milliseconds
    factor = 0.3     -- How much to slow down time (1.0 = normal, 0.0 = ultra slow)
}

-- Camera shake on death
Config.cameraShake = {
    enabled = true,  -- Set to false to disable
    duration = 2000, -- Duration of the camera shake in milliseconds
    intensity = 0.5  -- Intensity of the camera shake
}

-- Third person camera on death
Config.cameraOnDeath = {
    enabled = true,  -- Set to false to disable
    duration = 2000, -- Duration of the camera in milliseconds
}

-- Experimental stuff
Config.enableOnlyHeadshotHits = false               -- Experimental feature, set to true if you want to enable only headshots
Config.experimentalDeath = false                    -- Experimental feature, set to false if you don't want to use it (improves the death system, but may not work in some servers. Just test this)
Config.experimentalDetection = true                 -- Experimental feature, set to false if you don't want to use it (improves the detection system)
Config.experimentalDetectionDebug = false           -- Experimental feature, set to true if you want to enable the debug mode for the detection system
Config.experimentalShotDebounceMs = 80              -- Experimental feature, minimum time in ms between experimental shot detections
Config.experimentalDetectionPrecisionRadius = 0.145 -- Experimental feature, adjusts advanced hit detection tolerance (higher values increase leniency, lower values require more precision)
📄 Server Config (config_server.lua)
ConfigServer = {}

-- Discord logs
ConfigServer.discordLogs = {
  enabled = false, -- Set to true if you want to enable the discord logs
  webhook = "", -- Webhook URL
}

Code is accessible No
Subscription-based No
Lines (approximately) ~2,963
Requirements None
Support Yes