Damage is a term used to refer to when a player humanoid’s health property is reduced by a script. You have to know that once a a player humanoid’s health reaches zero health, so the humanoid dies and all joints in the model are broken causing the humanoid to fall apart.
Actually, damage is able to be modified by a script with an event that checks for the humanoid taking damage. This is able to taken damage to be reduced or even negated. Apparently, there are types of Damage. If you are wanting this information, so you are able to keep reading this text below.
TYPES OF DAMAGE
Environmental damage is a damage which cannot be configured in any way by a creator of place. You have to note that the only type of environmental damage that currently exists in Roblox platform is world border damage, that causes a Robloxians to die if they go too close to the skybox. Well, now we are going to give you the most common example of this. It is when a Robloxian falls off a brick into the bottom of the Robloxian world, after a few seconds, so the Robloxian will die. But, the max distance a player is able to fall down can be edited by developers. For your information, the max is -50000, though by default it is -500.
Local damage is damage that can be caused by elements which can be modified by a place creator. You have to know that currently, only scripts can make damage. Local damage can be effected on humanoids by scripts by either applying the TakeDamage method, or by manually setting a humanoid’s health to a level lower than it was before. But, you have to note that doing TakeDamage method will not damage the humanoid if there is a ForceField present in the character. Then, if the health is set to 0 or less, so Died event will call. In an example, say there was a character named Telamon within the workspace.
Well, the text above is an explanation of Damage and types and Damage in Roblox platform. If you want to get more information about that, so you are able to search its information from other sources. Or simply, you are able to visit the page of Damage on Roblox Wikia. On that page, you will find some information related Damage scripts.
Talking about damage script, we get information that there are some people who have already got problem related damage script. To solve any problem related Damage scripts, we suggest you to join with forum of Roblox Community. Usually, on the forum of Roblox Community, you are able to share, discuss and ask anything related damage script. When you ask something on forum, make sure that you ask your question clearly to make the people on forum can understand your problem. Please wait until you get some answers from people on forum. After that, you are able to try to take their opinion in solving your problem.