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.
Examples
Section titled “Examples”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.
See Also
Section titled “See Also”- Related events and functions can be linked here
- LSL equivalent: on_damage