llSetObjectPermMask
God Mode Only
function ll.SetObjectPermMask(PermissionFlag: number, PermissionMask: number)Sets the specified PermissionFlag permission to the value specified by PermissionMask on the object the script is attached to.
Parameters
-
PermissionFlag(number) - MASK_* flag
-
PermissionMask(number) - Permission bit-field (PERM_* flags)
Examples
Section titled “Examples”Add example usage here showing SLua/Luau syntax with ll.SetObjectPermMask().
Add additional notes, caveats, or tips specific to using this function in SLua/Luau.
See Also
Section titled “See Also”- Related functions can be linked here
- LSL equivalent: llSetObjectPermMask