It’s a normal script.
And that’s the entire script in the script.
–[ SERVICES ]–
local ReplicatedStorage = game:GetService(“ReplicatedStorage”)
local Players = game:GetService(“Players”)
–[ OVERHEAD LOCALS ]–
local OverheadGui = ReplicatedStorage:WaitForChild(“OverheadGui”)
local OwnerOverheadGui = ReplicatedStorage:WaitForChild(“OwnerOverheadGui”)
–[ MAIN FUNCTIONS ]–
Players.PlayerAdded:Connect(function(Player)
Player.CharacterAdded:Connect(function(Character)
– These variables are used regardless of whether the user owns the gamepass or not
– so we can define them outside the if statement
local Humanoid = Character:WaitForChild(“Humanoid”)
local Head = Character:WaitForChild(“Head”)
-- Level for knowing when someone changes
local LEVEL = Player.Minutes
-- Again, this happens regardless of the if statement
Humanoid.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
-- Owner Name
if Player.Name == "IdealBoard" then
local CloneGuiOwner = OwnerOverheadGui:Clone()
local Gradient = CloneGuiOwner.Level.UIGradient
local GradientScript = CloneGuiOwner.Level.UIScript
CloneGuiOwner.Username.Text = Player.Name.." (@"..Player.DisplayName..")"
CloneGuiOwner.Name = "OverheadGui"
CloneGuiOwner.Parent = Head
CloneGuiOwner.Rank.Text = ""
-- Level Rank Here
CloneGuiOwner.Level.Text = "LEVEL : "..LEVEL.Value
-- Checking To See If Level Changed
LEVEL.Changed:Connect(function()
CloneGuiOwner.Level.Text = "LEVEL : "..LEVEL.Value
if LEVEL.Value >= 100000 then -- Over 100000 Minute LEVEL (RAINBOW)
CloneGuiOwner.Level.TextColor3 = Color3.new(1, 1, 1)
Gradient.Enabled = true
GradientScript.Disabled = false
elseif LEVEL.Value >= 10000 then -- Over 10000 Minute LEVEL (DARK RED)
CloneGuiOwner.Level.TextColor3 = Color3.new(0.658824, 0, 0)
elseif LEVEL.Value >= 5000 then -- Over 5000 Minute LEVEL (ORANGE)
CloneGuiOwner.Level.TextColor3 = Color3.new(1, 0.666667, 0)
elseif LEVEL.Value >= 1000 then -- Over 1000 Minute LEVEL (BLUE)
CloneGuiOwner.Level.TextColor3 = Color3.new(0, 0.666667, 1)
elseif LEVEL.Value >= 500 then -- Over 500 Minute LEVEL (PURPLE)
CloneGuiOwner.Level.TextColor3 = Color3.new(0.85098, 0.00784314, 1)
elseif LEVEL.Value >= 100 then -- Over 100 Minute LEVEL (GREEN)
CloneGuiOwner.Level.TextColor3 = Color3.new(0.333333, 1, 0)
else -- DEFAULT LEVEL (WHITE)
CloneGuiOwner.Level.TextColor3 = Color3.new(255,255,255)
end
end)
if LEVEL.Value >= 100000 then -- Over 100000 Minute LEVEL (RAINBOW)
CloneGuiOwner.Level.TextColor3 = Color3.new(1, 1, 1)
Gradient.Enabled = true
GradientScript.Disabled = false
elseif LEVEL.Value >= 10000 then -- Over 10000 Minute LEVEL (DARK RED)
CloneGuiOwner.Level.TextColor3 = Color3.new(0.658824, 0, 0)
elseif LEVEL.Value >= 5000 then -- Over 5000 Minute LEVEL (ORANGE)
CloneGuiOwner.Level.TextColor3 = Color3.new(1, 0.666667, 0)
elseif LEVEL.Value >= 1000 then -- Over 1000 Minute LEVEL (BLUE)
CloneGuiOwner.Level.TextColor3 = Color3.new(0, 0.666667, 1)
elseif LEVEL.Value >= 500 then -- Over 500 Minute LEVEL (PURPLE)
CloneGuiOwner.Level.TextColor3 = Color3.new(0.85098, 0.00784314, 1)
elseif LEVEL.Value >= 100 then -- Over 100 Minute LEVEL (GREEN)
CloneGuiOwner.Level.TextColor3 = Color3.new(0.333333, 1, 0)
else -- DEFAULT LEVEL (WHITE)
CloneGuiOwner.Level.TextColor3 = Color3.new(255,255,255)
end
-- Different / Default Overhead
local CloneGui = OverheadGui:Clone()
local Gradient = CloneGui.Level.UIGradient
local GradientScript = CloneGui.Level.UIScript
CloneGui.Username.Text = Player.Name.." (@"..Player.DisplayName..")"
CloneGui.Name = "OverheadGui"
CloneGui.Parent = Head
-- Group Role Here
local Role = "- Guest -"
pcall(function()
Role = Player:GetRoleInGroup(9997169)
end)
CloneGui.Rank.Text = Role
-- Level Rank Here
CloneGui.Level.Text = "LEVEL : "..LEVEL.Value
-- Checking To See If Level Changed
LEVEL.Changed:Connect(function()
CloneGui.Level.Text = "LEVEL : "..LEVEL.Value
if LEVEL.Value >= 100000 then -- Over 100000 Minute LEVEL (RAINBOW)
CloneGui.Level.TextColor3 = Color3.new(1, 1, 1)
Gradient.Enabled = true
GradientScript.Disabled = false
elseif LEVEL.Value >= 10000 then -- Over 10000 Minute LEVEL (DARK RED)
CloneGui.Level.TextColor3 = Color3.new(0.658824, 0, 0)
elseif LEVEL.Value >= 5000 then -- Over 5000 Minute LEVEL (ORANGE)
CloneGui.Level.TextColor3 = Color3.new(1, 0.666667, 0)
elseif LEVEL.Value >= 1000 then -- Over 1000 Minute LEVEL (BLUE)
CloneGui.Level.TextColor3 = Color3.new(0, 0.666667, 1)
elseif LEVEL.Value >= 500 then -- Over 500 Minute LEVEL (PURPLE)
CloneGui.Level.TextColor3 = Color3.new(0.85098, 0.00784314, 1)
elseif LEVEL.Value >= 100 then -- Over 100 Minute LEVEL (GREEN)
CloneGui.Level.TextColor3 = Color3.new(0.333333, 1, 0)
else -- DEFAULT LEVEL (WHITE)
CloneGui.Level.TextColor3 = Color3.new(255,255,255)
end
end)
if LEVEL.Value >= 100000 then -- Over 100000 Minute LEVEL (RAINBOW)
CloneGui.Level.TextColor3 = Color3.new(1, 1, 1)
Gradient.Enabled = true
GradientScript.Disabled = false
elseif LEVEL.Value >= 10000 then -- Over 10000 Minute LEVEL (DARK RED)
CloneGui.Level.TextColor3 = Color3.new(0.658824, 0, 0)
elseif LEVEL.Value >= 5000 then -- Over 5000 Minute LEVEL (ORANGE)
CloneGui.Level.TextColor3 = Color3.new(1, 0.666667, 0)
elseif LEVEL.Value >= 1000 then -- Over 1000 Minute LEVEL (BLUE)
CloneGui.Level.TextColor3 = Color3.new(0, 0.666667, 1)
elseif LEVEL.Value >= 500 then -- Over 500 Minute LEVEL (PURPLE)
CloneGui.Level.TextColor3 = Color3.new(0.85098, 0.00784314, 1)
elseif LEVEL.Value >= 100 then -- Over 100 Minute LEVEL (GREEN)
CloneGui.Level.TextColor3 = Color3.new(0.333333, 1, 0)
else -- DEFAULT LEVEL (WHITE)
CloneGui.Level.TextColor3 = Color3.new(255,255,255)
end
end
end)