llSetDamage
function ll.SetDamage(Damage: number)Sets the amount of damage that will be done to an avatar that this task hits. Task will be killed.
Sets the amount of damage that will be done to an avatar that this object hits. This object will be destroyed on damaging an avatar, and no collision event is triggered.
Parameters
-
Damage(number)
Examples
Section titled “Examples”Add example usage here showing SLua/Luau syntax with ll.SetDamage().
Add additional notes, caveats, or tips specific to using this function in SLua/Luau.
See Also
Section titled “See Also”- Related functions can be linked here
- LSL equivalent: llSetDamage