Price
UnknownA script by Fancazista
Price
Unknownfanca_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
Core Combat Fixes/revive).
Advanced Headshot System
Killfeed & HUD Reticleindex.html file (killfeed UI) is fully editable.
Visual & Audio Effects
Advanced Detection Systems
Game-changing – revolutionizes PvP: kills are smooth, fast, and precise.
Multiple-layer detection – combined hit registration systems for headshots and general hits to avoid false-negatives and tanking.
Server-side forced death – all critical death logic runs server-side to prevent client manipulation and ensure consistent state across players.
ACE bypass & godmode handling – safe handling of godmode users with configurable ACE group bypass rules.
No more tanking – players cannot survive unintentionally anymore thanks to synchronized forced-death procedures.
Flawless acrobatics – rolas and movement will no longer produce desync-related “revive-standup” glitches.
Fluid & fair PvP – every encounter feels precise, rewarding, and balanced due to weapon-distance checks and layered detection.
Support is available through Discord – join the support server for help, custom requests and updates.
Full documentation is available here:
Script Docs & Events: Anti-Tank / Anti-Desync System | Documentation
Inside you’ll find:
resources.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.
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)
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 |
See what others are saying about this script.
Share your experience and help others.