Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
CommandPermission
Specifies the minimum security permission level a Lua execution context must hold to invoke a Studio command registered through the plugin command system. CommandPermission.Plugin is the standard permission for plugin scripts; CommandPermission.LocalUser is the higher-privilege level reserved for IDE-only APIs.
Items
| Name | Value | Description |
|---|---|---|
| Plugin | 0 | The command is accessible to scripts running at the standard Plugin security level. |
| LocalUser | 1 | The command requires the LocalUser security level, granting access to IDE-only APIs. |
Plugin
The command is accessible to scripts running at the standard Plugin security level.
| Field | Value |
|---|---|
| value | 0 |
LocalUser
The command requires the LocalUser security level, granting access to IDE-only APIs.
| Field | Value |
|---|---|
| value | 1 |