TakeDamage (Method): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Legend26
Undo revision 49064 by Itunes89 (talk) It's not deprecated. Look at the object browser.
>Legend26
Undo revision 49064 by Itunes89 (talk) It's not deprecated. Look at the object browser.
(No difference)

Revision as of 16:31, 16 January 2012

TakeDamage( Number damage )
Returns nil
Description: Subtracts the damage from the health of the targetted humanoid unless a ForceField is present.
Member of: Humanoid


Example

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