vi/raiser
ui
ui, GTA 6 style illustration
Vaultintermediateui

Death / Bleed-Out Respawn Screen

A framework-agnostic NUI Wasted overlay with a bleed-out countdown, hold-to-respawn, and a server-owned respawn cooldown that prevents rush-respawning.

PRODUCTION-SHAPED, the reference Lua is validated and written framework-correct for ESX, QBCore, and QBox, ready to drop into your server.
Est. Lua
~82 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 / mostable
$500($150 to $2,000)

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

Effort vs return
intermediate2-4h

Description

A death / bleed-out respawn screen that shows a Wasted NUI overlay the moment the player ped dies, runs a bleed-out countdown, and only lets the player hold to respawn once the timer is up. The actual respawn is gated by a server-owned cooldown, so servers sell it as the tamper-proof companion to their ambulance/EMS loop instead of a cosmetic-only overlay.

Prompt Template

You are writing a FiveM resource: a death / bleed-out respawn screen via NUI.

🔒 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/ui/17-death-respawn-screen.lua. It implements a flag-guarded death watcher, a counting bleed-out thread that drives the NUI, and a server that…

🔒 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-decided cooldown, a modded client skips the wait; only the server's lastRespawn check is trustworthy.
  • Resurrect desync, SetEntityCoords without NetworkResurrectLocalPlayer leaves the ped dead for other players.
  • Per-tick re-trigger, without the isDown guard the bleed-out restarts every loop.

Corrective re-prompt: "Move all respawn-timing authority to the server: the client may only TriggerServerEvent('death:requestRespawn'); the server compares os.time() against lastRespawn[src] and emits respawnGranted or respawnDenied. On grant, call NetworkResurrectLocalPlayer before SetEntityCoords, and guard the death watcher with isDown so bleed-out starts exactly once."

Framework Integration

  • ESX: Hook esx:onPlayerDeath instead of polling, and call your ambulance export on grant; money is untouched so no balance writes are needed.
  • QBCore: Pair with qb-ambulancejob, emit hospital:client:SetDeathStatus from the respawnGranted handler.
  • QBox: Use the qbx_medical death state and read exports.qbx_core:GetPlayer server-side if you want job-aware respawn points.

Profit Potential

$150-$2000/mo on Tebex (expected ~$500), priced within the $50-389 script band against a corpus of comparable Tebex sellers (median ~$11.85K/mo) for a stable, evergreen RP niche.

Trend Signal

→ stable, inferred: Custom death/respawn screens are a recurring RP request and tie into ambulance scripts; steady demand.

Sales Angle

Position as the tamper-proof death layer for any EMS server, the server-owned cooldown is the differentiator buyers can't get from a free cosmetic overlay. Recommended Tebex price $129.

Difficulty & Ship Time

intermediate · ships in 2-4h.