[PAID | ESX ] DEATH UI - CloudScripts - Grand Rp Style

Cloudscripts Death UI :ambulance::skull: - The Ultimate Death Experience for Your FiveM Server!

Elevate your FiveM server with Cloudscripts Death UI, delivering an immersive and modern death experience! :video_game: This script replaces the default death mechanics of esx_ambulancejob with a sleek, customizable user interface and a host of features that take your players’ RP experience to the next level. Perfect for roleplay servers that prioritize realism and style! :star2:

:sparkles: Key Features

:desktop_computer: Modern and Immersive Death UI

  • Stunning Design: A visually striking UI with a bloody background, dynamic timer, and customizable texts. :drop_of_blood:
  • Multilingual Support: Supports English and German, with easy customization for additional languages via config.lua. :earth_africa:
  • Killer Display: Shows the name and server ID of the killer (if a player caused the death). :man_detective:
  • Sound Effect: A dramatic death sound (deadsound.mp3) plays when the UI appears. :loud_sound:

:hospital: Smart Respawn Logic

  • Zone-Based Respawn: Players respawn based on their death location:
    • Los Santos: Respawn at Pillbox Hospital (vector3(323.4389, -594.2236, 43.2676)). :hospital:
    • Sandy Shores & Paleto Bay: Respawn at Sandy Shores Hospital (vector3(1839.6, 3672.8, 34.3)). :desert:
    • Fallback: Pillbox Hospital for deaths outside defined zones.
  • Customizable Zones: Define respawn zones and radii in config.lua for maximum flexibility. :round_pushpin:

:stopwatch: Customizable Bleedout Timer

  • Dynamic Timer: Defaults to 1 minute, adjustable in config.lua (GlobalState.Timer). :hourglass_flowing_sand:
  • Visual Display: The timer is shown in minutes and seconds on the UI, with a stylized countdown. :clock3:

:rotating_light: Distress Call Function

  • Call an Ambulance: Players can call an ambulance via a button, triggering a dispatch event (roadphone:sendDispatch). :telephone_receiver:
  • Notifications: Supports both cloudscripts_notification and ESX.ShowNotification for flexible alerts. :bell:

:adhesive_bandage: Item Loss and Treatment

  • Item Loss: Removes defined items (e.g., bandage, medikit) after death, with custom notifications. :syringe:
  • Customizable Items: Configure required items and their notifications in config.lua. :hammer_and_wrench:

:shield: Seamless Integration with esx_ambulancejob

  • Compatibility: Bypasses esx_ambulancejob death logic when cloudscripts_deathui is active, ensuring smooth operation. :handshake:
  • Revive Integration: The /revive command and medic revives use cloudscripts_deathui:revive logic, including screen fade effects. :rainbow:

:wrench: Easy Configuration

  • config.lua: Centralized configuration file for timer, respawn points, zones, languages, notifications, and more. :memo:
  • Role-Based Revive Command: Restrict the /revive command to defined roles (e.g., owner, admin). :key:

:art: Visual Highlights

  • Bloody Background: A radial blood effect (blood.png) enhances the drama of death. :drop_of_blood:
  • Caduceus Symbol: Stylized symbol in the distress call button for a professional look. :medical_symbol:
  • Akrobat Font: Modern and clear font for all UI elements, imported via CDN. :writing_hand:
  • Hover Effects: The distress call button scales and glows on hover for intuitive interaction. :sparkles:

:hammer_and_wrench: Installation

  1. Add the Script:
  • Copy the cloudscripts_deathui folder to your resources directory.
  • Add ensure cloudscripts_deathui to your server.cfg.
  1. Dependencies:
  • Ensure es_extended and optionally cloudscripts_notification are installed.
  • roadphone is required for the dispatch function.
  1. Integration with esx_ambulancejob:
  • Edit esx_ambulancejob/client/main.lua to bypass death and revive logic when cloudscripts_deathui is active. Detailed instructions are in the README.md.
  1. Configuration:
  • Customize config.lua to adjust timer, zones, languages, and notifications to your liking.
  1. Testing:
  • Start the server and test death, respawn, and revive scenarios to verify functionality.

:clipboard: Requirements

  • FiveM Server with ESX Framework (es_extended). :desktop_computer:
  • Optional: cloudscripts_notification for enhanced notifications. :loudspeaker:
  • Optional: roadphone for the distress call dispatch function. :iphone:

:lock: Security

  • Role-Based Commands: The /revive command is restricted to configured roles to prevent abuse. :closed_lock_with_key:
  • Stable Logic: Robust state management (IsDead flag) prevents duplicate death or respawn events. :white_check_mark:

:star2: Why Cloudscripts Death UI?

  • Immersion: Enhances realism and tension with a modern death UI and sound effects. :performing_arts:
  • Flexibility: Fully customizable for various server setups and RP styles. :hammer_and_wrench:
  • Easy Integration: Seamless compatibility with esx_ambulancejob and other ESX scripts. :arrows_counterclockwise:
  • Support: Detailed documentation (README.md) and community support for a smooth setup. :books:

:package: What’s Included?

  • client.lua: Core logic for death UI, timer, and respawn. :computer:
  • server.lua: Server-side logic for revive commands and item loss. :desktop_computer:
  • shared.lua: Shared functions, e.g., respawn logic and distress call dispatch. :satellite:
  • config.lua: Configuration file for easy customization. :gear:
  • html/: Includes index.html, style.css, script.js, images (blood.png, caduceus.png), and the death sound (deadsound.mp3). :art::loud_sound:

:movie_camera: Preview
( SHOWCASE )
Experience the immersive death UI with a bloody background, dynamic timer, and stylized distress call button in action! :rotating_light:

:speech_balloon: Support
Have questions or need help with installation? Contact us via [your support channel, e.g., Discord] or check the README.md for detailed instructions. We’re here to make your server shine! :star2:

:shopping_cart: Buy Now!
Take your server’s death experience to new heights with Cloudscripts Death UI! Perfect for RP servers that value quality and immersion. Get it now and let your players feel the thrill of a realistic death! :skull::ambulance:

Tebex

Discord CloudScripts

SCREENSHOT

Code is accessible no
Subscription-based No
Lines (approximately) 840
Requirements ESX
Support Yes

MORE SCRIPTS