Skip to main content

Troubleshooting

Bar never completes / freezes​

Another script may have crashed the thread. Check the client F8 console for errors with the [fr_progressbar] prefix.

exports['fr_progressbar']:Start does nothing​

Make sure fr_progressbar is running (ensure fr_progressbar). Verify the resource appears in the active resources list with status fr_progressbar in the server console.

Player can cancel even with canCancel = false​

canCancel = false disables the Backspace key but movement and death still cancel if cancelOnMove or cancelOnDeath are true. Set those to false too for an uncancellable bar.

onComplete never fires​

It is only called when the bar reaches 100% without cancellation. Make sure you are not accidentally setting duration = 0.

Two bars running at once​

Only one bar can run at a time. Starting a new one automatically cancels the previous one.

Bar does not appear on screen​

Check that no other resource is blocking the NUI. Try /testprogress — if it does not appear either, check the F8 console for errors.