Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
AccessModifierType
Determines whether the user IDs supplied to SetUserIdAccessList() are treated as an allow-list or a deny-list for hearing a particular AudioDeviceInput.
The default AccessType is AccessModifierType.Deny, meaning all users can hear the device unless explicitly excluded.
Items
| Name | Value | Description |
|---|---|---|
| Allow | 0 | User IDs in the access list are permitted to hear the AudioDeviceInput - all other users are blocked. |
| Deny | 1 | User IDs in the access list are blocked from hearing the AudioDeviceInput - all other users are permitted. |
Allow
User IDs in the access list are permitted to hear the AudioDeviceInput - all other users are blocked.
| Field | Value |
|---|---|
| value | 0 |
Deny
User IDs in the access list are blocked from hearing the AudioDeviceInput - all other users are permitted.
| Field | Value |
|---|---|
| value | 1 |