vi/raiser
heists
heists, GTA 6 style illustration
Vaultadvancedheists

Stealth Takedowns, Guard Patrols, Vision Cones & Body Drag

ESX/QBCore/QBox stealth layer: patrolling guard peds with dot-product vision cones, a knockout takedown, body drag, and a server-authoritative shared alarm.

PRODUCTION-SHAPED, the reference Lua is validated and written framework-correct for ESX, QBCore, and QBox, ready to drop into your server.
Est. Lua
~102 loc
Claude
Claude Opus 4.x / Sonnet 4.x
Validation
syntax-validated
Updated
2026-06-25
Unlock price
$199Vault

Unlock all 510 prompts

Profit potential / morising
$900($250 to $3,500)

$50-389 script band, sized for a rising niche; top sellers clear around $11.85K/mo.

Effort vs return
advanced1 day

Description

A stealth-infiltration layer: guard peds walk a patrol route with dot-product vision cones plus a line-of-sight check, the player can knock one out and drag the body out of view, and any detection raises a single server-authoritative alarm. Servers buy it because AI patrols and body-drag stealth are underserved and instantly raise a heist pack's production ceiling.

Prompt Template

You are writing a FiveM resource for qb-core (QBCore). Produce TWO files…

🔒 Eyes-only, locked prompt body

The full prompt template and its reference Lua are part of a one-time pack. Pick your depth, both are lifetime access, no subscription, ever.

Core$49one-time
  • 60 prompts + syntax-validated reference Lua
  • Lifetime access, pay once
Most Popular · Best Value
Vault$199one-time
  • All 510 prompts, the full library
  • Per-prompt profit/trend intelligence (CSV + playbook)
  • Lifetime free updates, new niches as the market moves
Get the Vault, $199

$49 for 60 · $199 for all 510 + intelligence, one-time, no subscription.

Expected Output

The reference Lua lives at content/expected-outputs/heists/19-stealth-guard-patrol-takedown.lua. It implements model-loaded patrol guards, a vision cone that pairs HasEntityClearLosToEntity with a…

🔒 Eyes-only, locked prompt body

The full prompt template and its reference Lua are part of a one-time pack. Pick your depth, both are lifetime access, no subscription, ever.

Core$49one-time
  • 60 prompts + syntax-validated reference Lua
  • Lifetime access, pay once
Most Popular · Best Value
Vault$199one-time
  • All 510 prompts, the full library
  • Per-prompt profit/trend intelligence (CSV + playbook)
  • Lifetime free updates, new niches as the market moves
Get the Vault, $199

$49 for 60 · $199 for all 510 + intelligence, one-time, no subscription.

Known Failure Modes & Corrective Prompt

  • Client-only alarm, per-client alarm state desyncs the heist; hold one alarmActive flag on the server and broadcast with TriggerClientEvent(..., -1, ...).
  • Cone sees through walls, a pure dot-product cone ignores geometry; gate it with HasEntityClearLosToEntity.
  • Anim before load, the takedown melee clip no-ops without RequestAnimDict + the HasAnimDictLoaded wait.
  • Drag attach jitter, re-attaching every frame without a dragging guard fights the physics; attach once, detach on toggle.

Corrective re-prompt: Make the alarm server-authoritative, move alarmActive into server.lua, set it inside the stealth:spotted handler, broadcast the notify to -1, and clear it via SetTimeout. Keep the client purely a detector that fires stealth:spotted.

Framework Integration

  • ESX: swap notifications to TriggerClientEvent('esx:showNotification', -1, ...); the patrol/cone/drag logic is framework-agnostic.
  • QBCore: exports['qb-core']:GetCoreObject(), broadcast via TriggerClientEvent('QBCore:Notify', -1, ...); tie the alarm into ps-dispatch if present.
  • QBox: use exports.qbx_core and exports.qbx_core:Notify; route the alarm to ox_lib notifications and an ox_target takedown zone.

Profit Potential

$250-$3500/mo on Tebex (expected ~$900), priced within the $50-389 script band against a corpus of comparable Tebex sellers (median ~$11.85K/mo), scaled for a rising underserved-stealth niche.

Trend Signal

rising, strategy: Niche matrix: AI guard patrols plus body-drag stealth are underserved; raise a pack's ceiling.

Sales Angle

Position as the stealth layer that lifts an entire heist pack, patrols, vision cones, silent takedowns, body drag, content most packs lack. Recommended Tebex price $199.

Difficulty & Ship Time

advanced · ships in 1 day.