EntityDamage
Fires when an Entity is damaged
EntityExample usage:
Parameters
entity: Entity
The entity getting damaged.
fromEntity: Entity | nil
The attacker (if one exists).
damage: number [modifiable]
Amount of damage that will be dealt.
knockback: Knockback [modifiable]
Amount of knockback that will be applied.
cancelled: bool [modifiable]
If set to true the damage will be cancelled.
Last updated