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.

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

NameValueDescription
Allow0User IDs in the access list are permitted to hear the AudioDeviceInput - all other users are blocked.
Deny1User 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.

FieldValue
value0

Deny

User IDs in the access list are blocked from hearing the AudioDeviceInput - all other users are permitted.

FieldValue
value1