TakeDamage (Method)

From Legacy Roblox Wiki
Revision as of 21:57, 30 January 2012 by >Flurite (spelling and rewording)
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.
Member of: Humanoid


Example

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