> For the complete documentation index, see [llms.txt](https://pinkfrog.gitbook.io/pinkfrog.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pinkfrog.gitbook.io/pinkfrog.io/assets-and-guides/deathscreen-pinkfrog_deathscreen.md).

# DeathScreen (pinkFrog\_deathScreen)

{% embed url="<https://www.youtube.com/watch?v=2yL3SwPTMpY>" %}

### Advanced FiveM Death Screen

A modern, fully configurable death screen system designed for serious RP servers. This script replaces the default FiveM death experience with a cinematic, immersive, and roleplay-focused solution that gives players meaningful interactions while downed.

#### &#x20;Key Features:

#### Injury & Damage System

* Bone-based injury detection (head, chest, limbs, hands, legs, groin, etc.)
* Visual injuries panel showing damaged body parts
* Fallback and random injury generation for falls and generic damage
* RP helper panel that sends automatic`/do`messages based on injuries
* Fully localized RP messages

#### Two-Phase Death System

* Phase 1: Downed / unconscious state with a configurable timer
* Phase 2: Bleeding out / respawn state with a separate timer
* Each phase can be enabled or disabled independently
* Fully customizable texts and durations

#### Crawling While Downed

* Players can crawl while unconscious for realistic RP situations
* Hold-to-confirm system to prevent accidental activation
* Custom animations for crawling and stopping
* Automatically disabled if death animations are turned off

#### Distress Signal Button

* Optional “Call Services / EMS” button
* Configurable keybind, cooldown, and hold-to-confirm time
* Can be shown in phase 1, phase 2, or both
* Logic is easily editable for custom server needs

#### Respawn System

* Multiple respawn locations with:
  * Custom keybinds
  * Prices
  * Exact coordinates and headings
* Hold-to-confirm respawn to prevent misclicks
* Perfect for hospitals, clinics, or custom RP locations

#### UI Editor & Themes

* In-game UI editor for:
  * Position
  * Scale
  * Layout
  * Colors
* Theme presets with gradients and solid colors
* Players can customize their layout without touching code
* Default layouts included (center, bottom center, right center)

#### Sound & Atmosphere

* Optional heartbeat / ambience sound while downed
* Configurable volume and looping
* Easy to replace with your own audio file

#### Controls & Safety

* Full control blocking while the death screen is active
* Whitelist support for specific controls (e.g. push-to-talk, movement)
* Export available to check if the death screen is active
* Hold-to-confirm actions to avoid accidental inputs

#### Framework & Localization

* Supports ESX, QBCore, and QBOX
* Built-in English and Polish translations
* Easy to add your own languages

#### Developer Friendly

* Highly commented config
* No code editing required for most features
* Client-side customization hooks available
