Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
HumanoidHealthDisplayType
Controls when the Humanoid health bar is displayed. This works in conjunction with the Humanoid.MaxHealth property which must have a value higher than zero or the health bar doesn't display.
Items
| Name | Value | Description |
|---|---|---|
| DisplayWhenDamaged | 0 | The humanoid's health bar is only visible when the humanoid is not at full health (assuming MaxHealth is greater than zero). |
| AlwaysOn | 1 | The humanoid's health bar is always visible (assuming MaxHealth is greater than zero). |
| AlwaysOff | 2 | The humanoid's health bar is never visible. |
DisplayWhenDamaged
The humanoid's health bar is only visible when the humanoid is not at full health (assuming MaxHealth is greater than zero).
| Field | Value |
|---|---|
| value | 0 |
AlwaysOn
The humanoid's health bar is always visible (assuming MaxHealth is greater than zero).
| Field | Value |
|---|---|
| value | 1 |
AlwaysOff
The humanoid's health bar is never visible.
| Field | Value |
|---|---|
| value | 2 |