Description
A pickpocket-to-access loop: the player lifts a keycard swipe off a staff NPC, the server rolls whether the clone succeeds, and a cloned-keycard item then gates a restricted door. Servers buy it because it is a reusable access primitive that plugs into any heist instead of a one-off door.
Prompt Template
You are writing a FiveM resource for esextended (ESX). Produce TWO files…
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.
- 60 prompts + syntax-validated reference Lua
- Lifetime access — pay once
- All 510 prompts — the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates — new niches as the market moves
$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.
Expected Output
The reference Lua lives at content/expected-outputs/heists/17-keycard-clone-pickpocket.lua. It implements closest-NPC pickpocketing with a loaded give/take anim, a server-rolled clone chance that…
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.
- 60 prompts + syntax-validated reference Lua
- Lifetime access — pay once
- All 510 prompts — the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates — new niches as the market moves
$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.
Known Failure Modes & Corrective Prompt
- Client-side grant — rolling the clone or adding the item on the client lets any player spawn access; both belong on the server.
- Anim before load — the give/take gesture no-ops without
RequestAnimDict+ theHasAnimDictLoadedwait loop. - Client door check — verifying the keycard item client-side lets a spoofed
keycard:swipeopen the door; check the item on the server. - Net-event spam — without a per-ped
liftingguard the player can farm one NPC every frame.
Corrective re-prompt: Move the clone roll and addInventoryItem('cloned_keycard', 1) into the keycard:pickpocket server handler, and in keycard:swipe read getInventoryItem on the server and return the boolean via TriggerClientEvent('keycard:swipeResult', src, ok) — the client must never decide access.
Framework Integration
- ESX:
exports['es_extended']:getSharedObject();getInventoryItem/addInventoryItemforcloned_keycard,ESX.ShowNotificationclient-side. - QBCore: swap to
exports['qb-core']:GetCoreObject(),Player.Functions.AddItem('cloned_keycard', 1)andPlayer.Functions.GetItemByName; pair the door withqb-doorlock. - QBox: use
exports.qbx_coreandexports.ox_inventory:AddItem; gate the door withox_doorlockkeycard groups.
Profit Potential
$150–$2000/mo on Tebex (expected ~$500). [INFERRED] priced within the $50-389 script band against the signal-scraper tebex_snapshot corpus (n=100, median seller $11.85K/mo), scaled for a stable reusable-access niche.
Trend Signal
→ stable — corpus: Maps to ox_doorlock keycard-access activity (corpus); steady demand as a reusable access layer.
Sales Angle
Position as a drop-in access-control layer for any heist pack — restricted doors, evidence rooms, vaults — not a single scripted door. Recommended Tebex price $69.
Difficulty & Ship Time
intermediate · ships in 2-4h.