Dev Scripts V3 IMPROVED
Key RequiredUniversal

Dev Scripts V3 IMPROVED

Universal ScriptScripMakerScripMaker 940 views 153 executesUpdated Nov 30, 2025
3.3/ 5(3 votes)
2167% Positive
Lua Script•170 lines (4985 chars)
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)
]])()

Features & Information

Dev script V3 finished (if the health bars doesn't appears just wait few seconds/1 Minute to appear) The script works on every game R6/r15(Supported) Can we share it ?(Yes you can share with your friends) Please do not steal the script or pretending you created it it makes me mad since I made this script for yall) (ENJOY)MY USERNAME:Dragon_blaze649)(Roblox)

Community Comments (2)

ScripMakerScripMakerNov 30, 2025

Thanks for using it I really appreciate ❤️

ScripMakerScripMakerNov 30, 2025

@h6l9w the script is for some pvp/battles Games or everygame test it by yourself I recommend to test it on the game called Dragon Ball Saiyans Ability Test my username is dragon_blaze649

More Scripts for Universal Scripts