gta6/prompts
casino
Vaultadvancedcasino

Crash Multiplier Game

ESX/QBCore/QBox real-time crash round where players cash out before a provably-fair seeded curve busts.

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
~115 loc
Claude
Claude Opus 4.x / Sonnet 4.x
Validation
syntax-validated
Updated
2026-06-25

Description

A working crash game: a shared multiplier curve climbs in real time and busts at a provably-fair seeded point, and every player who cashed out before the bust wins stake * multiplier. It is the crypto-casino crash mechanic almost no FiveM server has ported yet — a high-novelty, high-retention round-based gambler that defends its own niche.

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/casino/11-crash-multiplier-game.lua. It implements a single server round loop that seeds a provably-fair bust point, opens a betting window, climbs…

🔒 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-run curve — Claude climbs the multiplier and picks the bust on the client; a modder cashes out at any value. Keep the seed, curve, bust and money server-side, broadcasting ticks to -1.
  • Late cashout — accepting a cashout after the bust because the phase isn't checked; reject unless phase == 'running' and the player hasn't already cashed.
  • One-sided net event — defining crash:tick/cashed/busted on only one side desyncs the shared round; both sides need RegisterNetEvent + AddEventHandler.

Corrective re-prompt: The multiplier curve and bust point currently run on the client. Move the seeded round loop, the curve and bustAt, and all removeMoney/addMoney into server.lua; broadcast crash:tick to -1, and reject crash:cashout unless phase == 'running' and the player hasn't cashed.

Framework Integration

  • ESX: ESX.GetPlayerFromId(src), xPlayer.getMoney() / removeMoney(stake) on join and addMoney(floor(stake*mult)) on cashout.
  • QBCore: QBCore.Functions.GetPlayer(src) with Player.Functions.RemoveMoney('cash', stake) / AddMoney('cash', payout).
  • QBox: exports.qbx_core:GetPlayer(src) and the qbx money exports; the round loop and NUI bus stay framework-agnostic.

Profit Potential

$400–$6000/mo on Tebex (expected ~$1500). [INFERRED] priced inside the $50-389 FiveM script band against a hot crypto-casino-crossover niche; corpus median seller $11.85K/mo (signal-scraper tebex_snapshot n=100).

Trend Signal

🔥 hot — strategy: 5-axis blue-ocean (niches.md): crypto-casino crash crossover, scarce FiveM supply, novelty defensibility.

Sales Angle

Position as the crypto-casino crash crossover that almost no FiveM server has yet — a shared real-time round with a provably-fair server seed. Recommended Tebex price $349.

Difficulty & Ship Time

advanced · ships in 1-2 days.