---
title: "Vertical health bar | Universal Roblox Script - ScriptBlox"
description: "Vertical health bar for any Roblox game, free on ScriptBlox."
canonical_url: "https://scriptblox.com/script/Universal-Script-Vertical-health-bar-208963"
meta:
  "og:description": "Vertical health bar for any Roblox game, free on ScriptBlox."
  "og:image": "https://scriptblox.com/images/script/0-1777459124515.jpg"
  "og:title": "Vertical health bar | Universal Roblox Script - ScriptBlox"
  "twitter:description": "Vertical health bar for any Roblox game, free on ScriptBlox."
  "twitter:image": "https://scriptblox.com/images/script/0-1777459124515.jpg"
  "twitter:title": "Vertical health bar | Universal Roblox Script - ScriptBlox"
---

> Index of every page on this site: [llms.txt](https://scriptblox.com/llms.txt)

![Universal Script 📌](https://scriptblox.com/images/script/0-1777459124515.jpg)

# **Vertical health bar**

[**Universal Script 📌**](https://scriptblox.com/game/universal)**![Zale](https://scriptblox.com/images/photo/69a2dc4c91f12cbed208dde1-1772280963186.jpg) [Zale](https://scriptblox.com/u/Zale)Published 5**

7 months ago

[**Get an executor**](https://scriptblox.com/executors?kind=executor)

Please login to perform these actions:

## **Does it work? **

**No reports yet **

No reports yet. Tried it? Be the first to say.

Also noticed:

## Description

## **Updates **

1. Jul 17, 2026

   ****Script edited:**** Rolled back to version 1
2. Jun 28, 2026

   ****Script edited:**** Update script

[View Raw](https://scriptblox.com/raw/Universal-Script-Vertical-health-bar-208963)

```
local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
local CoreGui = game:GetService("CoreGui")
local RunService = game:GetService("RunService")

local function formatHealth(val)
    local rounded = math.round(val * 10) / 10 -- Rounds to 1 decimal place first
    if rounded % 1 == 0 then
        return string.format("%.0f", rounded) -- Absolutely no decimal for whole numbers
    else
        return string.format("%.1f", rounded) -- Exactly one decimal for others
    end
end

local function createHealthBar(character)
    local humanoid = character:WaitForChild("Humanoid", 5)
    local head = character:WaitForChild("Head", 5)
    if not humanoid or not head then return end

    if CoreGui:FindFirstChild(character.Name .. "_HealthBar") then
        CoreGui[character.Name .. "_HealthBar"]:Destroy()
    end

    local billboard = Instance.new("BillboardGui")
    billboard.Name = character.Name .. "_HealthBar"
    billboard.Parent = CoreGui
    billboard.Adornee = head
    billboard.Size = UDim2.new(4, 0, 6, 0) 
    billboard.AlwaysOnTop = true
    billboard.ExtentsOffset = Vector3.new(2.8, 1, 0) -- Far right of head

    local mainFrame = Instance.new("Frame")
    mainFrame.Size = UDim2.new(0.06, 0, 0.6, 0) 
    mainFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
    mainFrame.BackgroundTransparency = 0.5
    mainFrame.BorderSizePixel = 0
    mainFrame.AnchorPoint = Vector2.new(0.5, 0.5)
    mainFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
    mainFrame.Parent = billboard


```

## **Comments **

**1**

Log in to join the conversation. [**Login **](https://scriptblox.com/login?redirect=/script/Universal-Script-Vertical-health-bar-208963)

![dominicanamor809's profile picture](https://scriptblox.com/images/user-default.webp)

[**dominicanamor809**](https://scriptblox.com/u/dominicanamor809)Lv 57 months ago

Love it!! Sleek and new:)

1

```json
{"@context":"https://schema.org","@type":"SoftwareSourceCode","@id":"https://scriptblox.com/script/Universal-Script-Vertical-health-bar-208963#script","url":"https://scriptblox.com/script/Universal-Script-Vertical-health-bar-208963","name":"Vertical health bar","programmingLanguage":"Lua","runtimePlatform":"Roblox","author":{"@type":"Person","name":"Zale","url":"https://scriptblox.com/u/Zale"},"datePublished":"2026-04-29T10:38:44.546Z","image":"https://scriptblox.com/images/script/0-1777459124515.jpg","isAccessibleForFree":true}
```

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://scriptblox.com/#website","@type":"WebSite","description":"Search free Roblox scripts uploaded by the community, with live status for every major executor. Browse by game, copy the loadstring and run it in your executor.","inLanguage":"en","name":"ScriptBlox","url":"https://scriptblox.com/"},{"@id":"https://scriptblox.com/script/Universal-Script-Vertical-health-bar-208963#webpage","@type":"WebPage","description":"Vertical health bar for any Roblox game, free on ScriptBlox.","name":"Vertical health bar | Universal Roblox Script - ScriptBlox","url":"https://scriptblox.com/script/Universal-Script-Vertical-health-bar-208963","breadcrumb":{"@id":"https://scriptblox.com/script/Universal-Script-Vertical-health-bar-208963#breadcrumb"},"isPartOf":{"@id":"https://scriptblox.com/#website"},"mainEntity":{"@id":"https://scriptblox.com/script/Universal-Script-Vertical-health-bar-208963#script"},"potentialAction":[{"@type":"ReadAction","target":["https://scriptblox.com/script/Universal-Script-Vertical-health-bar-208963"]}]},{"@id":"https://scriptblox.com/script/Universal-Script-Vertical-health-bar-208963#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://scriptblox.com","position":1},{"@type":"ListItem","name":"Universal","item":"https://scriptblox.com/game/universal","position":2},{"@type":"ListItem","name":"Vertical health bar","position":3}]}]}
```

## Sitemap

See the full [sitemap](https://scriptblox.com/sitemap.md) for all pages.
