gta6/prompts
heists
Vaultintermediateheists

Pressure-Plate Swap — Weight-Matched Relic Grab

ESX/QB heist that swaps a guarded relic for a weight-matched decoy, with a server-authoritative weight check and payout.

NON-TESTÉ — the reference Lua is syntax-validated, not run in a live FiveM server. Adapt and test on your own dev server before shipping.
Est. Lua
~90 loc
Claude
Claude Opus 4.x / Sonnet 4.x
Validation
syntax-validated
Updated
2026-06-25

Description

A pressure-plate swap heist: the relic sits on a weight sensor, and the player must place a decoy bag whose weight is matched closely enough before the plate triggers the alarm. The server compares the swap weight to the relic's; a close match pays out, a bad match alarms. Servers buy it because the sensor-fooling mechanic is iconic and rarely shipped.

Prompt Template

You are writing a FiveM resource for esextended (stable, exports getSharedObject).

🔒 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/14-pressure-plate-weight-swap.lua. It runs the proximity swap with a chosen decoy weight, validates the match against the true relic weight…

🔒 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-trusted match — Claude decides the weight matched client-side; keep the true weight, tolerance, and payout server-side.
  • Anim before loadTaskPlayAnim no-ops without a loaded dict; always RequestAnimDict + a HasAnimDictLoaded wait loop.
  • One-sided result event — a one-sided event breaks the success/alarm round-trip; both sides use RegisterNetEvent + AddEventHandler.

Corrective re-prompt: "Hold the true relic weight and tolerance only on the server, compare the client's chosenWeight there, pay once on a within-tolerance match and flag the alarm otherwise, then ack with TriggerClientEvent — never compute the match or pay on the client."

Framework Integration

  • ESX: local ESX = exports['es_extended']:getSharedObject(); pay via xPlayer.addMoney(reward).
  • QBCore: local QBCore = exports['qb-core']:GetCoreObject(); resolve with QBCore.Functions.GetPlayer(src) and pay Player.Functions.AddMoney('cash', reward).
  • QBox: use exports.qbx_core:GetPlayer(src) with the same AddMoney('cash', reward) accessor.

Profit Potential

$250–$3200/mo on Tebex (expected ~$850). [INFERRED] within the $50-389 script band against the signal-scraper tebex_snapshot corpus (n=100, median seller $11.85K/mo), lifted for a rising rare-mechanic niche.

Trend Signal

rising — strategy: Niche matrix: weight-swap sensor-fooling is a rare, iconic mechanic absent from most packs.

Sales Angle

Position as the iconic sensor-fooling mechanic almost no pack ships — the weight-matched decoy swap is the hook. Recommended Tebex price $149.

Difficulty & Ship Time

intermediate · ships in 2-4h.