Skip to content

llDamage

function ll.Damage(target: string, damage: number, type: number)

Generates a damage event on the targeted agent or task.

Parameters
target (string)
Agent or task to receive damage.
damage (number)
Damage amount to inflict on this target.
type (number)
Damage type to inflict on this target.

Add example usage here showing SLua/Luau syntax with ll.Damage().

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