How can I make a height bar like Tower of Hell has?

Hello! I want to make a height bar like tower of hell has.

I have tried to make a side bar like Tower of Hell, but it didn’t work.
Pictures:


Solutions I have tried are watching youtube videos, the video I watched is: ROBLOX | Tower of Hell Height Bar Tutorial - YouTube



The scripts I used are:

local Players = game:GetService("Players")
local Player = Players.LocalPlayer
local PlayerGui = Player:FindFirstChild("PlayerGui")
 
if Player:FindFirstChild("PlayerGui") then
    while wait() do
        local ImageLabel = PlayerGui.HeightGui.Frame:FindFirstChild("ImageLabel")
        local Character = game:GetService("Workspace")[Player.Name]
        local PrimaryPart = Character:FindFirstChild("Torso") -- Torso for R6, UpperTorso for R15
        local Height = math.ceil(PrimaryPart.Position.Y)
        ImageLabel.Position = UDim2.new(-1.385, 0, 0.923, - Height / 1000, 0) -- Change 50 to another to adjust height
    end
end
local ThumbnailType = Enum.ThumbnailType.HeadShot
local ThumbnailSize = Enum.ThumbnailSize.Size48x48
local Players = game:GetService("Players")
local Player = Players.LocalPlayer
 
while wait() do
    script.Parent.Image = Players:GetUserThumbnailAsync(Player.userId, ThumbnailType, ThumbnailSize)
end

Remove the comma in between

0.923, - Height / 1000
-- Becomes this
0.923 - Height/1000

Okay, I’ll try that! Thank you for your idea!