[FREE] End-of-Life (Demise) | Ved

An easy-to-use script for QBCore/ESX/QBox servers in FiveM that lets players end their character’s life under safe conditions using a pistol.

Image Preview:


:bar_chart: Features

  • :white_check_mark: Confirmation before dying (no accidental deaths).
  • :white_check_mark: Pistol-only requirement for realistic action.
  • :white_check_mark: Many safety checks to prevent abuse or misuse.
  • :white_check_mark: Progressbar countdown while thinking before action.
  • :white_check_mark: Includes realistic animations, sounds, and camera shake effects.
  • :white_check_mark: 100% configurable through the config file (no coding needed).
  • :white_check_mark: Realistic Restrictions: Players cannot perform the action if they are:
    • Dead or unconscious
    • Dying or in a ragdoll state
    • Cuffed or hands-up
    • In a vehicle, falling, swimming, or parachuting
    • In combat (melee, shooting, drive-by, etc.)
    • Busy with other actions (reloading, diving, eating, drinking, etc.)

:hammer_and_wrench: Configurations

Everything in this script is fully customizable through the config.lua file. We’ve added clear and detailed comments for every setting to make customization easy, even if you have no coding experience. Make sure to check the config.lua file to explore all available options and adjust the script exactly how you want.



Like this script? :star: Star it on GitHub - It keeps us motivated to build more open source stuff!

:warning: Disclaimer

If you or someone you know is struggling, please reach out to a mental health professional or trusted individual. This script is made purely for roleplay purposes and is not intended to trivialize serious mental health issues.

Code is accessible Yes
Subscription-based No
Lines (approximately) ~450
Requirements None
Support Yes
9 Likes

:pencil: Version 1.1.0GitHub

  • Added support for ESX framework.

  • Integrated support for Ox Lib.

  • Synchronized gunshot sound across players.

  • Updated UI for confirmation and time left display.

Video will be nice thanks :blush:

I’ll share the update here once it’s up, or you can join the Discord to get notified when it drops!

I’ll be uploading the video by tonight

1 Like

:pencil: ImprovementsGitHub

  • Added server cooldown per player to prevent spam.

  • Validated client coordinates on server to block invalid data.

  • Checked coordinates on client before playing sound to avoid errors.

1 Like

Still looking for the video :eyes:

Hey, didn’t get time to make a video myself, but here’s a showcase of my script created by MJ Development. You can watch this video to see the script in action.

https://www.youtube.com/watch?v=WAFA06zIU8g