1 min read

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

NameValueDescription
DisplayWhenDamaged0The humanoid's health bar is only visible when the humanoid is not at full health (assuming MaxHealth is greater than zero).
AlwaysOn1The humanoid's health bar is always visible (assuming MaxHealth is greater than zero).
AlwaysOff2The 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).

FieldValue
value0

AlwaysOn

The humanoid's health bar is always visible (assuming MaxHealth is greater than zero).

FieldValue
value1

AlwaysOff

The humanoid's health bar is never visible.

FieldValue
value2