pcall(function() local a=Instance.new("ScreenGui")local b=Instance.new("Frame")local c=Instance.new("UIStroke")local d=Instance.new("UICorner")local e=Instance.new("TextLabel")local f=Instance.new("Frame")a.Name="HealthBarUI"a.ResetOnSpawn=false a.Parent=game:GetService("CoreGui")b.Parent=a b.BackgroundColor3=Color3.fromRGB(25,25,25)b.Position=UDim2.new(0,10,0,10)b.Size=UDim2.new(0,180,0,20) c.Thickness=1.5 c.Color=Color3.fromRGB(255,0,0)c.Parent=b d.CornerRadius=UDim.new(0,6)d.Parent=b e.Parent=b e.BackgroundTransparency=1 e.Size=UDim2.new(1,0,1,0) e.Text="Health: 100" e.TextColor3=Color3.new(1,1,1) e.TextScaled=true e.Font=Enum.Font.SourceSansBold f.Name="HealthFill"f.Parent=b f.BackgroundColor3=Color3.fromRGB(255,0,0) f.Size=UDim2.new(1,0,1,0) f.ZIndex=0 b.ClipsDescendants=true game:GetService("RunService").RenderStepped:Connect(function() local g=game.Players.LocalPlayer if g and g.Character and g.Character:FindFirstChild("Humanoid")then local h=g.Character.Humanoid local i=h.Health local j=h.MaxHealth f.Size=UDim2.new(i/j,0,1,0) e.Text="Health: "..math.floor(i) end end) game.Players.LocalPlayer.CharacterAdded:Connect(function() wait(1) a.Parent=game:GetService("CoreGui") end) loadstring("\112\114\105\110\116\40\34\67\114\101\100\105\116\115\32\80\114\111\106\101\99\116\95\82\101\109\111\114\115\101\226\157\164\239\184\143\34\41")() end)