Skip to content

attach

LLEvents:on("attach", function(AvatarID: string)
-- ...
end)

This event is triggered whenever an object is attached or detached from an avatar. If it is attached, the key of the avatar it is attached to is passed in, otherwise NULL_KEY is.

Parameters
AvatarID (string)

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

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