Description
A residential break-in loop targeting offline owners: the burglar lockpicks the door with a timed animation, risks tripping the alarm, and loots the stash — but only if the house is off its cooldown. The server rolls the loot and enforces the cooldown so the reward cannot be spoofed or farmed. Servers sell it because offensive housing content is what makes lock and security scripts worth buying.
Prompt Template
You are writing a FiveM script for QBCore (exports["qb-core"]:GetCoreObject()).
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 at content/expected-outputs/housing/13-home-burglary-offline-raid.lua implements the load-waited lockpick animation and proximity prompt on the client, and a server that enforces a…
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 loot — rolling rewards and
AddItemon the client lets a player fabricate or loop loot. Roll and grant on the server only. - Client cooldown — storing the cooldown client-side is bypassed by reconnecting. Keep the timestamp table server-side.
- Anim never loads — calling
TaskPlayAnimwithout thewhile not HasAnimDictLoadedwait plays nothing. Always block until loaded.
Corrective re-prompt: Move the loot roll, cash and item grants into the server section keyed off os.time() per house id; the client only plays the animation and shows the "burglary:result" it receives. Guarantee the lockpick anim by keeping RequestAnimDict(dict) followed by while not HasAnimDictLoaded(dict) do Wait(0) end before TaskPlayAnim.
Framework Integration
- QBCore:
exports["qb-core"]:GetCoreObject();Player.Functions.AddMoney("cash", amt),Player.Functions.AddItem("goldbar", 1). - QBox:
exports.qbx_core:GetPlayer(src)with the sameFunctions.AddMoney/AddItemsurface; pair withox_inventoryfor stash items. - ESX: if ported, swap to
getSharedObject(),xPlayer.addMoney(amt)/xPlayer.addInventoryItem; this entry ships QBCore/QBox only.
Profit Potential
$400–$6000/mo on Tebex (expected ~$1500). [INFERRED] priced inside the $50-389 housing-script band against the signal-scraper tebex_snapshot corpus (median seller $11.85K/mo, n=100) scaled for a hot-tier niche.
Trend Signal
🔥 hot — corpus: signal-scraper corpus n=356: housing/security<-ox_doorlock; residential break-in is a top-demand RP loop.
Sales Angle
Position as the offense that sells the defense — the break-in loop that gives every house-lock and alarm pack a reason to exist. Recommended Tebex price $249.
Difficulty & Ship Time
advanced · ships in 1 day.