--Usering


wait()
Player = game.Players.LocalPlayer
repeat wait() until Player.Character


Character = Player.Character
Humanoid = Character:WaitForChild("Humanoid")

local function round(n)
	return math.floor(n + 0.5)
end

script.Parent.TextLabel.Text = round(Humanoid.Health)
script.Parent.TextLabel2.Text = round(Humanoid.MaxHealth)
Humanoid.HealthChanged:connect(function()
	script.Parent.Overlay:TweenSize(UDim2.new(Humanoid.Health/Humanoid.MaxHealth,0,1,0),"Out","Quad",.25)
	script.Parent.TextLabel.Text = round(Humanoid.Health)
	script.Parent.TextLabel2.Text = round(Humanoid.MaxHealth)
	script.Parent.Overlay.Image = ("rbxassetid://4312022958")
	wait(0.1)
	if Humanoid.Health <= (Humanoid.MaxHealth * 0.2) then
		script.Parent.Overlay.Image = ("rbxassetid://1076384780")
	else
		script.Parent.Overlay.Image = ("rbxassetid://1076384598")
	end
end)
