Skip to content

on_damage

LLEvents:on("on_damage", function(count: number)
-- ...
end)

Triggered when an avatar or object receives damage.

Parameters
count (number)
The number of damage events queued.

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

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