Skip to content

experience_permissions_denied

LLEvents:on("experience_permissions_denied", function(agent_id: string, Reason: number)
-- ...
end)

Describes why the Experience permissions were denied for the agent.

Parameters
agent_id (string)
ID of the agent denying permission for the Experience.
Reason (number)
One of the XP_ERROR_... constants describing the reason why the Experience permissions were denied for the agent.

Add example usage here showing how to handle the experience_permissions_denied event in SLua/Luau.

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