Run it
Copy the script and paste it into your executor.
Players = :()
RunService = :()
StarterGui = :()
TweenService = :()
Debris = :()
LocalPlayer = Players.LocalPlayer
PlayerGui = LocalPlayer:()
SOUND_DAMAGE_ID =
SOUND_HEAL_ID =
SOUND_DEATH_ID =
HP_DIVIDER =
.(()
(() StarterGui:(.CoreGuiType.Health, ) )
.()
)
ScreenGui = PlayerGui:()
ScreenGui ScreenGui:()
ScreenGui = .()
ScreenGui.Name =
ScreenGui.ResetOnSpawn =
ScreenGui.Parent = PlayerGui
MainFrame = .()
MainFrame.Name =
MainFrame.Parent = ScreenGui
MainFrame.BackgroundColor3 = .(, , )
MainFrame.BackgroundTransparency =
MainFrame.Position = .(, , , )
MainFrame.Size = .(, , , )
MainFrame.Visible =
NameLabel = .()
NameLabel.Parent = MainFrame
NameLabel.BackgroundTransparency =
NameLabel.Position = .(, , , )
NameLabel.Size = .(, , , )
NameLabel.Font = .Font.Arcade
NameLabel.Text = LocalPlayer.DisplayName
NameLabel.TextColor3 = .(, , )
NameLabel.TextSize =
NameLabel.TextXAlignment = .TextXAlignment.Left
HealthBarBack = .()
HealthBarBack.Parent = MainFrame
HealthBarBack.BackgroundColor3 = .(, , )
HealthBarBack.BorderSizePixel =
HealthBarBack.Position = .(, , , )
HealthBarBack.Size = .(, , , )
HealthBarFill = .()
HealthBarFill.Parent = HealthBarBack
HealthBarFill.BackgroundColor3 = .(, , )
HealthBarFill.BorderSizePixel =
HealthBarFill.Size = .(, , , )
HPText = .()
HPText.Parent = MainFrame
HPText.BackgroundTransparency =
HPText.Position = .(, , , )
HPText.Size = .(, , , )
HPText.Font = .Font.Arcade
HPText.TextColor3 = .(, , )
HPText.TextSize =
HPText.TextXAlignment = .TextXAlignment.Left
HPText.Text =
(id)
s = .()
s.SoundId = id
s.Volume =
s.Parent =
s:()
Debris:(s, )
(rootPart)
attachment = .()
attachment.Parent = rootPart
emitter = .()
emitter.Parent = attachment
emitter.Texture =
emitter.Color = ColorSequence.(.(, , ))
emitter.Size = NumberSequence.(, )
emitter.Lifetime = NumberRange.(, )
emitter.Speed = NumberRange.(, )
emitter.SpreadAngle = .(, )
emitter.Rate =
emitter:()
Debris:(attachment, )
(char)
MainFrame.Visible =
NameLabel.Text = LocalPlayer.DisplayName
hum = char:(, )
root = char:(, )
hum root
highlight = .()
highlight.Name =
highlight.FillColor = .(, , )
highlight.OutlineColor = .(, , )
highlight.FillTransparency =
highlight.OutlineTransparency =
highlight.Parent = char
soul = .()
soul.Name =
soul.Size = .(, , )
soul.Shape = .PartType.Ball
soul.Color = .(, , )
soul.Material = .Material.Neon
soul.CanCollide =
soul.Massless =
soul.Transparency =
soul.Parent = char
weld = .()
weld.Part0 = root
weld.Part1 = soul
weld.C0 = .(, , )
weld.Parent = soul
lastHealth = hum.Health
()
hp = .(hum.Health, , hum.MaxHealth)
maxHp = hum.MaxHealth
displayHP = .(hp / HP_DIVIDER)
displayMax = .(maxHp / HP_DIVIDER)
HPText.Text = displayHP .. .. displayMax
percent = hp / maxHp
HealthBarFill:(.(percent, , , ), , , , )
()
hum.HealthChanged:((newHealth)
newHealth <=
lastHealth >
(SOUND_DEATH_ID)
soul soul:()
root (root)
MainFrame.Visible =
newHealth < lastHealth
(SOUND_DAMAGE_ID)
shake = TweenService:(MainFrame, TweenInfo.(, .EasingStyle.Sine, .EasingDirection.Out, , ), {Position = .(, , , )})
shake:()
shake.Completed:(()
MainFrame.Position = .(, , , )
)
newHealth > lastHealth
(SOUND_HEAL_ID)
lastHealth = newHealth
()
)
LocalPlayer.Character
(LocalPlayer.Character)
LocalPlayer.CharacterAdded:(onCharacterAdded)
Universal