# Debug Weapon

The **Debug Weapon Script** for FiveM is the one-stop solution for managing the identification of unknown spawned objects!

<figure><img src="https://1417723968-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRh5ewdSY4npjj2afCrn%2Fuploads%2FcjHtQH2wOzZHLKnlKate%2FPreview.png?alt=media&#x26;token=5ffabc92-3a40-471e-9e58-daa4e56f7c4b" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1417723968-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRh5ewdSY4npjj2afCrn%2Fuploads%2F4l6p8ODUpzh3JQ0aixKp%2FScreenshot%202026-01-31%20165126.png?alt=media&#x26;token=afe819de-3b3e-421a-8dee-2375e6ef134e" alt=""><figcaption><p>If the user does not have access</p></figcaption></figure>

<figure><img src="https://1417723968-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRh5ewdSY4npjj2afCrn%2Fuploads%2FR9SfT65gCGjb9gBCDKGi%2FScreenshot%202026-01-31%20165020.png?alt=media&#x26;token=bd3d6e25-4c63-4677-b752-e269fa1872e0" alt=""><figcaption><p>Toggle Debug Weapon</p></figcaption></figure>

<figure><img src="https://1417723968-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRh5ewdSY4npjj2afCrn%2Fuploads%2FGVlDi6ChK16NgeCtXDOl%2FScreenshot%202026-01-31%20165033.png?alt=media&#x26;token=9061f11c-0061-48da-8733-d8ea4b1d0a8e" alt=""><figcaption><p>Custom UI</p></figcaption></figure>

<figure><img src="https://1417723968-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrRh5ewdSY4npjj2afCrn%2Fuploads%2FuO1u6hVJfJklUrapy9HT%2FScreenshot%202026-01-31%20165103.png?alt=media&#x26;token=d5d10fd7-50e0-416d-b3fb-aad5daba594f" alt=""><figcaption><p>Basic UI</p></figcaption></figure>

```lua
Config = {
-----------------------------------------------------------------------------------------------------
-- Permission Configuration
----------------------------------------------------------------------------------------------------- 
DiscordRoleID = { '' }, -- List of Discord Role IDs that have access to the debug weapon
-----------------------------------------------------------------------------------------------------
-- UI Type Configuration
----------------------------------------------------------------------------------------------------- 
UIType = 'Advanced', -- Options: Advanced, Basic
-----------------------------------------------------------------------------------------------------
-- Notification Configurations
-----------------------------------------------------------------------------------------------------
NotifyType = 'Ox_lib', -- Options: VeniceNotify, OkOkNotify, Ox_lib, Chat, GTA
notifyTime = 5000, -- Default notification time in milliseconds
}

return Config
```

{% hint style="success" %}
Downloads

\[PAID | Open Source] [Official Store Link](https://arcticdevlabs.com/package/script?script=Debug-Weapon)
{% endhint %}
