1 min read

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

NameValueDescription
Plugin0The command is accessible to scripts running at the standard Plugin security level.
LocalUser1The 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.

FieldValue
value0

LocalUser

The command requires the LocalUser security level, granting access to IDE-only APIs.

FieldValue
value1