TakeDamage (Method): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Mr Doom Bringer
No edit summary
>Mr Doom Bringer
No edit summary
(No difference)

Revision as of 00:17, 13 March 2012

TakeDamage( Number damage )
Returns nil
Description: Subtracts the damage from the health of the targeted humanoid unless the character has a ForceField. Can be negative to 'heal'.
Member of: Humanoid


Example

game.Players.LocalPlayer.Character.Humanoid:TakeDamage(99) -- '99' damage will be subtracted from the Humanoid's health.