Reference API Roblox

Engine API

Website

Related

Reference API Roblox

SecurityCapability

Identifies a specific permission capability that a sandboxed script container may grant or restrict.

Items 53

HistoryNameValueDescription
635RunClientScript0

Indicates that a script container is permitted to execute scripts on the client (LocalScript).

635RunServerScript1

Indicates that a script container is permitted to execute scripts on the server (Script).

635AccessOutsideWrite2

Grants a script read-write access to instances that live outside its sandboxed container.

720AssetRequire3

Deprecated. Use SecurityCapability.LoadUnownedAsset instead.

720LoadString4

Allows a script to use the loadstring() Luau built-in to compile and execute a string as code.

720ScriptGlobals5

Allows a script to access the shared and _G shared global variable tables.

720CreateInstances6

Allows a script to create new Instance objects using Instance.new().

720Basic7

Guards access to a broad set of general-purpose engine APIs that do not belong to a more specific capability category.

720Audio8

Guards access to audio engine APIs such as Sound, AudioPlayer, and related classes.

720DataStore9

Guards access to data store APIs such as DataStoreService and its associated objects.

720Network10

Guards access to low-level networking APIs such as HttpService.

720Physics11

Guards access to physics engine APIs such as Constraint classes and BasePart physics properties.

720UI12

Guards access to UI engine APIs such as ScreenGui, Frame, and other GuiObject classes.

720CSG13

Guards access to Constructive Solid Geometry (CSG) APIs such as UnionOperation and NegateOperation.

720Chat14

Guards access to chat engine APIs such as TextChatService and related chat classes.

720Animation15

Guards access to animation engine APIs such as AnimationController and related classes.

720Avatar16

Deprecated. Use SecurityCapability.AvatarAppearance instead.

720Input17

Guards access to user input APIs such as UserInputService and ContextActionService.

720Environment18

Guards access to environment and world-setting APIs such as Lighting and Atmosphere.

720RemoteEvent19

Guards access to remote event and function APIs such as RemoteEvent and RemoteFunction.

720LegacySound20

Guards access to the legacy Sound and pre-VoiceChatService.UseAudioApi sound stack APIs.

720Players21

Guards access to Players service APIs that query or manage connected players.

720CapabilityControl22

Guards access to the Instance.Capabilities and Instance.Sandboxed properties that configure script sandboxing.

720Plugin23

Mirrors the legacy Plugin permission level, granting access to Studio plugin APIs.

720LocalUser24

Mirrors the legacy LocalUser permission level, granting access to IDE-only and Studio-level APIs.

720WritePlayer25

Mirrors the legacy WritePlayer permission level, granting the ability to modify player identity properties such as name and UserId.

720RobloxScript26

Mirrors the legacy RobloxScript permission level, granting access to CoreScript APIs.

720RobloxEngine27

Mirrors the legacy RobloxEngine permission level, granting access to internal engine-level APIs.

720Unassigned28

The default capability assigned to API members that have not been explicitly assigned to any other capability category.

720InternalTest29

Restricts access to non-sensitive APIs that are intentionally kept internal.

720PluginOrOpenCloud30

Restricts access to APIs callable only from Studio plugin or Open Cloud Luau execution sessions.

720Assistant31

Restricts access to APIs that may only be called from Studio Assistant execution contexts.

720RemoteCommand32

Restricts access to APIs that are executable only from Studio's RemoteCommandService in Team Create sessions.

720AssetRead33

Guards access to APIs that read or query asset metadata from the Roblox catalog.

720AssetManagement34

Guards access to asset management APIs such as ContentProvider:PreloadAsync() and encryption-key registration.

720DynamicGeneration35

Guards access to procedural and AI-driven content generation APIs such as EditableMesh and AvatarCreationService.

720PlatformAvatarEditing36

Guards access to platform-level avatar editing APIs provided by AvatarEditorService.

720AssetCreateUpdate37

Guards access to APIs that create or update published Roblox assets.

720Capture38

Guards access to CaptureService APIs that take screenshots and record video.

720SensitiveInput39

Guards access to sensitive user input APIs such as those that can read raw keyboard or mouse data beyond normal game input.

720Monetization40

Guards access to in-experience purchase and monetization APIs such as MarketplaceService.

720LoadOwnedAsset41

Allows a script to load assets that are owned by the experience's creator using InsertService or require().

720Social42

Guards access to social APIs such as SocialService, FriendPages, and ExperienceInviteOptions.

720ServerCommunication43

Guards access to server-to-server messaging APIs such as MessagingService.

720Logging44

Guards access to LogService and logging-related APIs.

720PromptExternalPurchase45

Guards access to APIs that initiate external (non-Roblox) purchase prompts.

720Groups46

Guards access to group-related APIs such as GroupService.

720Teleport47

Guards access to teleportation APIs such as TeleportService, TeleportOptions, and TeleportAsyncResult.

720Consequences48

Guards access to moderation and player-consequence APIs such as Players:BanAsync() and ModerationService.

720Material49

Guards access to MaterialService, MaterialVariant, and custom material APIs.

720AvatarBehavior50

Guards access to APIs that control avatar locomotion and behavior at runtime.

720AvatarAppearance51

Guards access to APIs that read or modify avatar appearance, such as HumanoidDescription.

720LoadUnownedAsset52

Allows a script to require() asset IDs or call InsertService:LoadAsset() for assets not owned by the creator.

Description

SecurityCapability is a bitmask-based permission system that controls which engine APIs and Luau language features are accessible to scripts running inside sandboxed containers. Each value represents one capability bit that can be granted or restricted.

When an Instance has its Sandboxed property enabled, the engine intersects the capabilities of all ancestor containers to determine the effective permission set of any script that executes within that container. API members, classes, and Luau built-ins are each annotated with one or more SecurityCapability values; a script's thread must hold every required capability to call them.

History 154

Settings