Guide 1 Docs 2 Reference 3

Method of Player

player:damage

A hit in half-hearts: the flash, the sound, the resistance window. false on a version with no damage rules.

player:damage(amount: number) → boolean

Parameters

amountnumberrequired

Returns

boolean

Used in