FANDOM


Health Bar 2017

The health bar, which indicates how much health you have left.

Damage is a term used to refer to when a ExplorerImageIndex 12Players' ExplorerImageIndex 9Humanoid's Health property is reduced by a script. When a humanoid reaches zero health the humanoid dies and all joints in the model are broken causing the humanoid to fall apart.

Damage can be modified by a script with an event that checks for the humanoid taking damage. This can cause taken damage to be reduced or even negated.

Types of Damage

Environmental

Empty Baseplate

Falling out of the ROBLOX world causes instant death.

Environmental damage is damage that cannot be configured in any way by a place creator. The only type of environmental damage that currently exists in ROBLOX is world border damage, which causes a ROBLOXian to die if they go too far outside the ROBLOXian world. The most common example of this is when a ROBLOXian falls off a brick into the bottom of the ROBLOXian world. After a few seconds, the ROBLOXian will die. However, the max distance a player can fall down can be edited by developers. The max is -50021, though by default it is -521.

Local

Local damage is damage that can be caused by elements which can be modified by a place creator. Currently, only scripts can create damage. Local damage can be effected on humanoids by scripts by either appl`ying the TakeDamage() method, or by manually setting a humanoid's health to a level lower than it was before. However, doing TakeDamage() will not damage the humanoid if there is a ExplorerImageIndex 37ForceField present in the character. If the health is set to 0 or less, the .Died() event will call. For example, say there was a character named Telamon within the workspace. To damage him by 50HP, we could either do this:

workspace.Telamon.Humanoid:TakeDamage(50)

or this:

workspace.Telamon.Humanoid.Health = workspace.Telamon.Humanoid.Health - 50
Either of these two modus can be used in order to damage a humanoid. Such modus are commonly used in scripts to create a brick that damages people, or a weapon that, when used, damages others. Here are some examples of damage conductors:
SwordfightBattle

3 players wielding swords. The swords, when used, inflict damage on a ROBLOXian.

Barraki Obby Parl

An array of scripted bricks in an obstacle course. Jumping on a red brick causes the ROBLOXian to take damage and die.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.