loadstring([[ -- SERVICES local Players = game:GetService("Players") local RunService = game:GetService("RunService") local TweenService = game:GetService("TweenService") local StarterGui = game:GetService("StarterGui") local player = Players.LocalPlayer -- NOTIFICATIONS StarterGui:SetCore("SendNotification", {Title="Note", Text="HUD Loaded ❤️", Duration=5}) StarterGui:SetCore("SendNotification", {Title="Warning ⚠️", Text="Do NOT spam the Enable/Disable button!", Duration=27}) StarterGui:SetCore("SendNotification", {Title="FOLLOW ON ROBLOX", Text="godsw136 & dragon_blaze649", Duration=8}) StarterGui:SetCore("SendNotification", {Title="Note", Text="If you Reset Or Dying Re-execute the script!", Duration=10}) -- GLOBAL TOGGLE _G.HealthBarsEnabled = true -- SCREEN GUI (persistent) local ScreenGui = player:FindFirstChild("HUDGui") if not ScreenGui then ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "HUDGui" ScreenGui.Parent = player:WaitForChild("PlayerGui") end -- TOGGLE BUTTON local ToggleButton = ScreenGui:FindFirstChild("ToggleButton") if not ToggleButton then ToggleButton = Instance.new("TextButton", ScreenGui) ToggleButton.Name = "ToggleButton" ToggleButton.Size = UDim2.new(0,160,0,45) ToggleButton.Position = UDim2.new(0, 10, 1, -60) 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.Active = true ToggleButton.Draggable = true 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" and gui:IsA("BillboardGui") then gui.Enabled = _G.HealthBarsEnabled end end end) end -- FIX BUTTON local FixButton = ScreenGui:FindFirstChild("FixButton") if not FixButton then FixButton = Instance.new("TextButton", ScreenGui) FixButton.Name = "FixButton" FixButton.Size = UDim2.new(0,120,0,30) FixButton.Position = UDim2.new(1,-130,0,10) FixButton.BackgroundColor3 = Color3.fromRGB(50,50,50) FixButton.BorderSizePixel = 0 FixButton.TextColor3 = Color3.new(1,1,1) FixButton.TextScaled = true FixButton.Font = Enum.Font.GothamBold FixButton.Text = "Fix Health Bars" FixButton.Active = true FixButton.Draggable = true FixButton.MouseButton1Click:Connect(function() for _, gui in ipairs(workspace:GetDescendants()) do if gui.Name == "FortniteHealth" and gui:IsA("BillboardGui") then gui.StudsOffset = Vector3.new(0,3.2,0) end end StarterGui:SetCore("SendNotification",{Title="Health Bars Fixed",Text="All HP bars repositioned.",Duration=4}) end) end -- PLAYER HEALTH BARS local function CreatePlayerHP(character, plr) if not character:FindFirstChild("Head") then return end if character:FindFirstChild("FortniteHealth") then return end local humanoid = character:FindFirstChildOfClass("Humanoid") if not humanoid then return end local bill = Instance.new("BillboardGui", character) bill.Name = "FortniteHealth" bill.Adornee = character.Head bill.Size = UDim2.new(0,200,0,50) bill.StudsOffset = Vector3.new(0,3.2,0) bill.AlwaysOnTop = true -- USERNAME FUSION TEXT local FusionText = Instance.new("TextLabel", bill) FusionText.Size = UDim2.new(1,0,0,20) FusionText.Position = UDim2.new(0,0,0,0) FusionText.BackgroundTransparency = 1 FusionText.TextColor3 = Color3.fromRGB(255,200,0) FusionText.TextStrokeTransparency = 0 FusionText.TextStrokeColor3 = Color3.new(0,0,0) FusionText.Font = Enum.Font.GothamBold FusionText.TextScaled = true FusionText.Text = plr.Name.." - It's Not Fused" -- HEALTH BAR local outer = Instance.new("Frame", bill) outer.Size = UDim2.new(1,0,0,30) outer.Position = UDim2.new(0,0,0,25) outer.BackgroundTransparency = 0.4 outer.BorderSizePixel = 0 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) local bar = Instance.new("Frame", bg) bar.Size = UDim2.new(1,0,1,0) bar.BorderSizePixel = 0 local HPText = Instance.new("TextLabel", bg) HPText.Size = UDim2.new(1,0,1,0) HPText.BackgroundTransparency = 1 HPText.TextColor3 = Color3.new(1,1,1) HPText.TextStrokeTransparency = 0 HPText.TextStrokeColor3 = Color3.new(0,0,0) HPText.Font = Enum.Font.GothamBlack HPText.TextScaled = true local fused = false local function UpdateBar() local hp = humanoid.Health local max = humanoid.MaxHealth if max == 0 then return end bill.Enabled = _G.HealthBarsEnabled HPText.Text = math.floor(hp).." / "..math.floor(max) local pct = hp/max 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 TweenService:Create(bar, TweenInfo.new(0.15, Enum.EasingStyle.Quad), {Size=UDim2.new(pct,0,1,0)}):Play() end humanoid.HealthChanged:Connect(UpdateBar) RunService.RenderStepped:Connect(UpdateBar) plr.Chatted:Connect(function(msg) if not fused and msg:lower():find("fusion") then fused = true FusionText.Text = plr.Name.." - Fused" end end) local function ResetFusion() fused = false FusionText.Text = plr.Name.." - It's Not Fused" end humanoid.Died:Connect(ResetFusion) plr.CharacterAdded:Connect(function(char) task.wait(0.1) if char:FindFirstChildOfClass("Humanoid") then ResetFusion() end end) end -- NPC HEALTH BARS local function CreateNPCHP(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 bill = Instance.new("BillboardGui", model) bill.Name = "FortniteHealth" bill.Adornee = model.Head bill.Size = UDim2.new(0,200,0,30) bill.StudsOffset = Vector3.new(0,3.2,0) bill.AlwaysOnTop = true local outer = Instance.new("Frame", bill) outer.Size = UDim2.new(1,0,1,0) outer.BackgroundTransparency = 0.4 outer.BorderSizePixel = 0 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) local bar = Instance.new("Frame", bg) bar.Size = UDim2.new(1,0,1,0) bar.BorderSizePixel = 0 local HPText = Instance.new("TextLabel", bg) HPText.Size = UDim2.new(1,0,1,0) HPText.BackgroundTransparency = 1 HPText.TextColor3 = Color3.new(1,1,1) HPText.TextStrokeTransparency = 0 HPText.TextStrokeColor3 = Color3.new(0,0,0) HPText.Font = Enum.Font.GothamBlack HPText.TextScaled = true local function UpdateBar() local hp = humanoid.Health local max = humanoid.MaxHealth if max == 0 then return end bill.Enabled = _G.HealthBarsEnabled HPText.Text = math.floor(hp).." / "..math.floor(max) local pct = hp/max 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 TweenService:Create(bar, TweenInfo.new(0.15, Enum.EasingStyle.Quad), {Size=UDim2.new(pct,0,1,0)}):Play() end humanoid.HealthChanged:Connect(UpdateBar) RunService.RenderStepped:Connect(UpdateBar) humanoid.Died:Connect(function() bill.Enabled = false end) humanoid:GetPropertyChangedSignal("Parent"):Connect(function() if humanoid.Parent then bill.Enabled = true end end) end -- APPLY TO EXISTING PLAYERS for _, plr in ipairs(Players:GetPlayers()) do if plr.Character then task.wait() CreatePlayerHP(plr.Character, plr) end end -- APPLY TO NEW PLAYERS Players.PlayerAdded:Connect(function(plr) plr.CharacterAdded:Connect(function(char) task.wait(0.3) CreatePlayerHP(char, plr) end) end) -- APPLY TO NPCs for _, model in ipairs(workspace:GetDescendants()) do if model:IsA("Model") and model:FindFirstChildOfClass("Humanoid") and not Players:FindFirstChild(model.Name) then task.wait(0.1) CreateNPCHP(model) end end workspace.DescendantAdded:Connect(function(model) if model:IsA("Model") and model:FindFirstChildOfClass("Humanoid") and not Players:FindFirstChild(model.Name) then task.wait(0.3) CreateNPCHP(model) end end) ]])()