> For the complete documentation index, see [llms.txt](https://arctic-development.gitbook.io/arctic-development/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://arctic-development.gitbook.io/arctic-development/scripts/debug-weapon.md).

# Debug Weapon

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

<figure><img src="/files/SpMscVNMZqsjkgvXax7q" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/FLTT4KVFxb6AXHt2ckLm" alt=""><figcaption><p>If the user does not have access</p></figcaption></figure>

<figure><img src="/files/nNgXAuWmJ2pAfCHGntFB" alt=""><figcaption><p>Toggle Debug Weapon</p></figcaption></figure>

<figure><img src="/files/9akrnmBzy7XpmprT5TEs" alt=""><figcaption><p>Custom UI</p></figcaption></figure>

<figure><img src="/files/l2kx3v7UeII09B5lIKCw" 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 %}
