Run it
Copy the script and paste it into your executor.
Players = :()
UserInputService = :()
player = Players.LocalPlayer
playerGui = player:()
toggleKey = .KeyCode.X
enabled =
healthLabels = {}
colorPalette = {
Red = .(, , ),
Yellow = .(, , ),
Blue = .(, , ),
Black = .(, , ),
White = .(, , ),
Emerald = .(, , )
}
userSettings = {
[] = colorPalette.White,
[] = colorPalette.Yellow,
[] = colorPalette.Red
}
screenGui = .()
screenGui.Name =
screenGui.ResetOnSpawn =
screenGui.DisplayOrder = -
screenGui.ScreenInsets = .ScreenInsets.DeviceSafeInsets
screenGui.Parent = playerGui
toggleButton = .()
toggleButton.Name =
toggleButton.Size = .(, , , )
toggleButton.Position = .(, -, , )
toggleButton.BackgroundColor3 = .(, , )
toggleButton.Text =
toggleButton.TextColor3 = .(,,)
toggleButton.TextSize =
toggleButton.Font = .Font.GothamBold
toggleButton.Active =
toggleButton.Parent = screenGui
btnCorner = .()
btnCorner.CornerRadius = .(, )
btnCorner.Parent = toggleButton
menuFrame = .()
menuFrame.Size = .(, , , )
menuFrame.Position = .(, -, , -)
menuFrame.BackgroundColor3 = .(, , )
menuFrame.BorderSizePixel =
menuFrame.Visible =
menuFrame.Parent = screenGui
.(, menuFrame).CornerRadius = .(, )
title = .()
title.Size = .(, , , )
title.Text =
title.TextColor3 = .(,,)
title.TextSize =
title.Font = .Font.GothamBold
title.BackgroundTransparency =
title.Parent = menuFrame
optionsList = .()
optionsList.Size = .(, -, , -)
optionsList.Position = .(, , , )
optionsList.BackgroundTransparency =
optionsList.Parent = menuFrame
layout = .()
layout.Padding = .(, )
layout.Parent = optionsList
(labelText, threshold)
row = .()
row.Size = .(, , , )
row.BackgroundTransparency =
row.Parent = optionsList
t = .()
t.Size = .(, , , )
t.Text = labelText
t.TextColor3 = .(, , )
t.Font = .Font.GothamMedium
t.TextSize =
t.TextXAlignment = .TextXAlignment.Left
t.BackgroundTransparency =
t.Parent = row
buttons = .()
buttons.Size = .(, , , )
buttons.Position = .(, , , )
buttons.BackgroundTransparency =
buttons.Parent = row
hLayout = .()
hLayout.FillDirection = .FillDirection.Horizontal
hLayout.Padding = .(, )
hLayout.Parent = buttons
name, color (colorPalette)
b = .()
b.Size = .(, , , )
b.BackgroundColor3 = color
b.Text =
b.Parent = buttons
.(, b).CornerRadius = .(, )
b.MouseButton1Click:(()
userSettings[threshold] = color
_, other (buttons:())
other:() other.BorderSizePixel =
b.BorderSizePixel =
b.BorderColor3 = .(,,)
)
(, )
(, )
(, )
readyBtn = .()
readyBtn.Size = .(, -, , )
readyBtn.Position = .(, , , -)
readyBtn.BackgroundColor3 = colorPalette.Emerald
readyBtn.Text =
readyBtn.TextColor3 = .(,,)
readyBtn.Font = .Font.GothamBold
readyBtn.TextSize =
readyBtn.Parent = menuFrame
.(, readyBtn).CornerRadius = .(, )
(perc)
perc >= userSettings[]
perc >= userSettings[]
userSettings[]
()
_, data (healthLabels)
data.billboard data.humanoid
perc = data.humanoid.Health / data.humanoid.MaxHealth
data.label.TextColor3 = (perc)
data.billboard.Enabled = enabled
()
menuFrame.Visible = menuFrame.Visible
menuFrame.Visible
enabled =
toggleButton.BackgroundColor3 = colorPalette.Emerald
()
readyBtn.MouseButton1Click:(()
menuFrame.Visible =
enabled =
toggleButton.BackgroundColor3 = colorPalette.Emerald
()
)
toggleButton.MouseButton1Click:(toggleUI)
UserInputService.InputBegan:((input, processed)
processed input.KeyCode == toggleKey
()
)
(plr)
healthLabels[plr]
healthLabels[plr].billboard healthLabels[plr].billboard:()
healthLabels[plr] =
(plr, character)
(plr)
char = character plr.Character
char
hum = char:(, )
head = char:(, )
hum head
bb = .(, char)
bb.Size = .(, , , )
bb.StudsOffset = .(, , )
bb.AlwaysOnTop =
bb.Enabled = enabled
lbl = .(, bb)
lbl.Size = .(, , , )
lbl.BackgroundTransparency =
lbl.Font = .Font.GothamMedium
lbl.TextSize =
lbl.RichText =
lbl.TextStrokeTransparency =
healthLabels[plr] = {billboard = bb, label = lbl, humanoid = hum}
()
hum hum.Parent
p = hum.Health / hum.MaxHealth
lbl.Text = .(, .(hum.Health), .(hum.MaxHealth), .(p*))
lbl.TextColor3 = (p)
hum.HealthChanged:(update)
()
(p)
p == player
p.CharacterAdded:((newChar)
.()
(p, newChar)
)
p.Character
(p, p.Character)
Players.PlayerAdded:(setupPlayer)
Players.PlayerRemoving:(removeLabel)
_, p (Players:())
(p)
()
registrado =
registrado
exito = (()
StarterGui:(, {
Title = ;
Text = ;
Duration = ;
})
)
exito
registrado =
.()
StarterGui:(, {
Title = ;
Text = ;
Duration = ;
})
.()
A script I made with an AI, without telling it it was for a specific executor, is compatible with many executors. This script is a black button with a "X" symbol in the upper right corner of the screen or by pressing X on the keyboard, When it's green, it's activated. If someone's health bar isn't appearing, just toggle the symbol off and on again. It's recommended to run it again in case it's bugged. It's a lightweight script. If you're wondering why the code is long and uses Lua, and some parts are in Spanish, it's because it can be used in Roblox Studio and most executors script, now you can change the color of life (I recommend putting everything in white if the game has a lot of shadows)

Universal