
Description
A progress bar for any framework. Peach themed, cancelled with ESC, Thai text renders properly, and there is no build step.
Features
- [+] Players cancel with ESC, and your script gets an onCancel callback
- [+] Shows the seconds left as a countdown
- [+] Locks hotkeys while the bar runs, through a state bag and an event
- [+] Peach or jade theme, following the player's theme at runtime
- [+] Thai font embedded, so labels are text rather than boxes
- [+] Small and ready to use: no build step
- [+] Scripts that call esx_progressbar keep working, no edits needed
- [+] Does not depend on ESX.PlayerData, so nothing errors while the server boots
- [+] Works on ESX, standalone or any other framework
What it adds over the stock bar
- ESC cancels it. The stock bar runs to completion whatever the player does.
onCancelfires when they do, alongside the usualonFinish.- A countdown shows the seconds left.
- Hotkeys lock while it runs, through the
minigamestate bag and an event, so an inventory or HUD can stay out of the way. - A Thai font is embedded, so Thai labels are text rather than boxes.
- It does not read
ESX.PlayerData.ped, which the stock bar errors on during boot.
Using it
exports['x3d_progressbar']:Progressbar('Repairing...', 15000, {
FreezePlayer = true,
animation = { type = 'anim', dict = 'mini@repair', lib = 'fixing_a_ped' },
onFinish = function() print('done') end,
onCancel = function() print('cancelled') end,
showCountdown = true,
})
exports['x3d_progressbar']:CancelProgressbar()
Knowing a bar is running
if LocalPlayer.state.minigame then return end -- e.g. block the inventory key
AddEventHandler('x3d_progressbar:active', function(active) ... end)
Replacing the stock bar
Anything calling exports['esx_progressbar'] keeps working: a twelve-line forwarding shim ships under optional/, so nothing you already run has to change.
Licence
Based on esx_progressbar from the ESX Legacy project, Copyright (C) 2022-2024 ESX-Framework, under the GNU GPL v3. Modifications Copyright (C) 2026 X3D-Developer. The full modification list is in the README inside the download.
Version history
- 1.1.3 — Released 13/10/2026 00:19
- 1.1.1 — Released 12/10/2026 10:29
- 1.0.0 — Released 24/09/2026 08:22
Related scripts

- Updated
X3D Map Events
Free event panel on the pause-menu map: name + countdown, click to set a waypoint. Other scripts push events like notifications; admins can create their own.

- Updated
X3D Inventory
Free ESX inventory with big readable text, hotkeys 1–9 saved per character, coupon-based capacity and a storage panel for any vault or trunk script.

- Updated
X3D Respawn
Free death screen: Call EMS button, wait for medics when they are online, respawn points, self-revive, a death summary and death kept across relogs.

- Updated
X3D Phone
Free ESX smartphone: pma-voice calls, SMS with location sharing, mobile banking, a camera with self-hosted photos, Buzz and anonymous Dark Chat.
Posts that cover this script
- 24/09/2026
Free FiveM crime scripts: drug selling, house robbery, lockpick and safe-cracking minigames for ESX
X3D's free gang-side set for ESX — X3D Sell Drug (buyers rotate around the map, pay black money), X3D House Robbery (pick, loot, crack the safe, per-house cooldown), X3D Lockpick and X3D Safe Cracking (minigames behind one export). Everything is checked server side, with notes on wiring them into what you already run.
Read more - 07/10/2026
Free FiveM minigame scripts: lockpick and safe cracking in one export call, plus rewards cheaters can't fake
Free FiveM minigame scripts from X3D: X3D Lockpick (WASD pin finding), X3D Safe Cracking (GTA-style dial with no dependencies, not even ESX) and X3D House Robbery, which uses both. One blocking export call, difficulty you set, other keys blocked while playing, and server-side code that stops players from simply reporting a win.
Read more - 24/09/2026
FiveM Stuck on Loading Screen? 8 Fixes for Players, 5 for Server Owners
FiveM stuck on the loading screen, on the Rockstar launcher, on Connecting, or on a loading screen with music playing; black screen, white screen, loading never finishes. Step-by-step fixes for players (clear cache, move to SSD, disable ReShade, verify game files) and the server-side causes only the owner can fix (white loading screen, a client resource erroring at boot, the core spawning players before the world is ready).
Read more - 24/09/2026
Replace esx_notify, esx_progressbar and esx_loadingscreen with X3D's free UI set — without touching old scripts
esx_notify has 4 positions and no Thai font, esx_progressbar cannot be cancelled, esx_loadingscreen white-screens on some machines. A side-by-side of stock ESX UI against X3D Notify, X3D Progress Bar and X3D Loading Screen (free, GPL v3), and how to switch while scripts that call the old exports keep working unchanged.
Read more



