Skip to content

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)

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.