TakeDamage (Method): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Emess
No edit summary
>MrNicNac
Added the main reason why this function was made to the description.
Line 2: Line 2:
|name = TakeDamage
|name = TakeDamage
|arguments = [[number]] '''damage'''
|arguments = [[number]] '''damage'''
|description = Subtracts the damage from the health of the targetted humanoid.
|description = Subtracts the damage from the health of the targetted humanoid unless a [[ForceField]] is present.
|object = Humanoid
|object = Humanoid
}}</onlyinclude>
}}</onlyinclude>


[[Category:Methods]]
[[Category:Methods]]

Revision as of 03:00, 30 December 2010

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