> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jaksam-scripts.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Replace/Disable default progress bar

> Replace the default progress bar with your own, or trigger the default one from external scripts.

Triggered when using the progress bar.

```lua Event theme={null}
RegisterNetEvent("vehicles_keys:internalProgressBar", function(time, text)

end)
```

### Parameters

| Name   | Data Type | Description                      |
| ------ | --------- | -------------------------------- |
| `time` | integer   | Progress bar duration in seconds |
| `text` | string    | Description text                 |

## Example

```lua theme={null}
-- In vehicles_keys/integrations/cl_integrations.lua
RegisterNetEvent("vehicles_keys:framework:ready", function()
    -- Disables the default script progress bar (otherwise there would be 2 progress bars)
    exports["vehicles_keys"]:disableScriptEvent("vehicles_keys:internalProgressBar")
end)

-- Example to replace the script progress bar with an external one
RegisterNetEvent("vehicles_keys:internalProgressBar", function(time, text)
    -- The event to activate your external progress bar
    TriggerEvent("external_progressbar:start", time, text)
end)
```

<Note>
  Place this code in the file `integrations/cl_integrations.lua` of the script, at the bottom of the file on new lines.
</Note>


## Related topics

- [Common FAQ](/jaksams-scripts/common-faq.md)
- [Progress bar](/farming-creator/client/progress-bar.md)
