Installation
1
Add the resource to your server
Place the
sh-progressbar folder inside your server’s resources directory.2
Start the resource in server.cfg
Open your
server.cfg and add the ensure line. Place it before any scripts that call the export.server.cfg
Export Reference
Trigger the progress bar from any client-side Lua script using theprogressbar export:
Parameters
string
required
The action text displayed below the progress ring. Keep this short and descriptive so players immediately understand what is happening.Example:
'Picking Lock'number
required
The total duration of the progress bar animation, in milliseconds. The ring fills completely over this period and then disappears.Example:
5000 (5 seconds)string
required
The color applied to the progress ring and the label text. Accepts any of the following formats:
Usage Examples
- HEX Color
- Named Color
- RGB Color
Pairing With Actions
The progress bar is visual only — it does not block player input or pause script execution by itself. To prevent players from moving or acting during a timed action, add your own control-disabling logic around the export call and use a coroutine orWait() to match the duration.