loadstring([[ -- SERVICES local Players = game:GetService("Players") local RunService = game:GetService("RunService") local TweenService = game:GetService("TweenService") local StarterGui = game:GetService("StarterGui") -- NOTIFICATION StarterGui:SetCore("SendNotification", { Title = "Note:"; Text = "Enjoy the Script ❤️"; Duration = 5; }) _G.HealthBarsEnabled = true -- UI Toggle Button local ScreenGui = Instance.new("ScreenGui", game.CoreGui) local ToggleButton = Instance.new("TextButton", ScreenGui) ToggleButton.Size = UDim2.new(0,160,0,45) ToggleButton.Position = UDim2.new(1,-180,0.4,0) ToggleButton.BackgroundColor3 = Color3.fromRGB(30,30,30) ToggleButton.BorderSizePixel = 0 ToggleButton.TextColor3 = Color3.new(1,1,1) ToggleButton.TextScaled = true ToggleButton.Font = Enum.Font.GothamBold ToggleButton.Text = "Enabled" ToggleButton.MouseButton1Click:Connect(function() _G.HealthBarsEnabled = not _G.HealthBarsEnabled ToggleButton.Text = _G.HealthBarsEnabled and "Enabled" or "Disabled" for _, gui in ipairs(workspace:GetDescendants()) do if gui.Name == "FortniteHealth" then gui.Enabled = _G.HealthBarsEnabled end end end) -- CREATE FORTNITE HP BAR local function CreateFortniteHP(model) if not model:FindFirstChild("Head") then return end if model:FindFirstChild("FortniteHealth") then return end local humanoid = model:FindFirstChildOfClass("Humanoid") if not humanoid then return end local lastHealth = humanoid.Health local bill = Instance.new("BillboardGui", model) bill.Name = "FortniteHealth" bill.Adornee = model.Head bill.Size = UDim2.new(0,200,0,60) bill.StudsOffset = Vector3.new(0,3.2,0) bill.AlwaysOnTop = true -- Outer glow frame local outer = Instance.new("Frame", bill) outer.Size = UDim2.new(1,0,0.55,0) outer.Position = UDim2.new(0,0,0.4,0) outer.BackgroundColor3 = Color3.fromRGB(0, 255, 150) outer.BackgroundTransparency = 0.4 outer.BorderSizePixel = 0 outer.ZIndex = 1 -- Dark background local bg = Instance.new("Frame", outer) bg.Size = UDim2.new(1,-6,1,-6) bg.Position = UDim2.new(0,3,0,3) bg.BackgroundColor3 = Color3.fromRGB(20,20,20) bg.BorderSizePixel = 0 bg.ZIndex = 2 -- Actual health fill local bar = Instance.new("Frame", bg) bar.Size = UDim2.new(1,0,1,0) bar.BackgroundColor3 = Color3.fromRGB(0,255,120) bar.BorderSizePixel = 0 bar.ZIndex = 3 -- Health text local text = Instance.new("TextLabel", bg) text.Size = UDim2.new(1,0,1,0) text.BackgroundTransparency = 1 text.TextColor3 = Color3.new(1,1,1) text.TextStrokeTransparency = 0 text.TextStrokeColor3 = Color3.new(0,0,0) text.Font = Enum.Font.GothamBlack text.TextScaled = true text.ZIndex = 4 -- HEAL ANIMATION EFFECT: Glow pulse local function HealPulse() local pulse = Instance.new("Frame", bg) pulse.BackgroundColor3 = Color3.fromRGB(0,255,180) pulse.BackgroundTransparency = 0.6 pulse.BorderSizePixel = 0 pulse.Size = UDim2.new(0,0,1,0) pulse.ZIndex = 5 local tween = TweenService:Create(pulse, TweenInfo.new(0.4, Enum.EasingStyle.Quad), { Size = UDim2.new(1,0,1,0), BackgroundTransparency = 1 }) tween:Play() tween.Completed:Connect(function() pulse:Destroy() end) end local function UpdateBar() local hp = humanoid.Health local max = humanoid.MaxHealth if max == 0 then return end bill.Enabled = _G.HealthBarsEnabled text.Text = math.floor(hp) .. " / " .. math.floor(max) local pct = hp / max -- Smooth tween for the bar shrinking/growing TweenService:Create( bar, TweenInfo.new(0.15, Enum.EasingStyle.Quad), { Size = UDim2.new(pct,0,1,0) } ):Play() -- COLOR CHANGES (Fortnite) if pct > 0.5 then bar.BackgroundColor3 = Color3.fromRGB(0,255,120) outer.BackgroundColor3 = Color3.fromRGB(0,255,170) elseif pct > 0.3 then bar.BackgroundColor3 = Color3.fromRGB(255,170,0) outer.BackgroundColor3 = Color3.fromRGB(255,140,0) else bar.BackgroundColor3 = Color3.fromRGB(255,0,0) outer.BackgroundColor3 = Color3.fromRGB(255,40,40) end -- HEALING DETECTED → Play pulse animation if hp > lastHealth then HealPulse() end lastHealth = hp end humanoid.HealthChanged:Connect(UpdateBar) UpdateBar() end -- Add to existing models for _, v in ipairs(workspace:GetDescendants()) do if v:IsA("Model") then task.wait() CreateFortniteHP(v) end end -- Add to new models workspace.DescendantAdded:Connect(function(v) if v:IsA("Model") then task.wait(0.3) CreateFortniteHP(v) end end) ]])()