TakeDamage (Method)

From Legacy Roblox Wiki
Revision as of 00:17, 13 March 2012 by >Mr Doom Bringer
Jump to navigationJump to search
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.