Skip to content

llGetPermissions

function ll.GetPermissions(): number

Returns an integer bitmask of the permissions that have been granted to the script. Individual permissions can be determined using a bit-wise "and" operation against the PERMISSION_* constants

Add example usage here showing SLua/Luau syntax with ll.GetPermissions().

Add additional notes, caveats, or tips specific to using this function in SLua/Luau.