Skip to content

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)

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.