How Do I Make It When You Level Up It Will Change The Text To "Level Up!" On The Label And Change Color To (245, 205, 48) On The Text Color

I Wanted To Make The Label Say “Level Up!” If You Reach A Another Level And It Will Change To (245, 205, 48) On The TextColor
Here’s How The Gui Looks Like
Screenshot_65

This Is How The EXP Gui Script Looks Like

local player = game.Players.LocalPlayer
local level = player:WaitForChild("Level")
local current = level:WaitForChild("Current")
local max = level:WaitForChild("Max")

-- UI-related variables.
local gui = script.Parent
local exterior = gui:WaitForChild("Exterior")
local label = exterior:WaitForChild("Label")
local exp = exterior:WaitForChild("Exp")
local bar = exterior:WaitForChild("Bar")

-- Change stats upon join.

label.Text = "Level "..level.Value
exp.Text = current.Value.."/"..max.Value.." EXP"
bar.Size = UDim2.new(current.Value/max.Value, 0, 1, 0)

level.Changed:Connect(function(val)
	label.Text = "Level "..level.Value
	exp.Text = current.Value.."/"..max.Value.." EXP"
	bar.Size = UDim2.new(current.Value/max.Value, 0, 1, 0)
	game.Workspace["LevelUp"]:Play()
end)

current.Changed:Connect(function(val)
	exp.Text = current.Value.."/"..max.Value.." EXP"
	bar.Size = UDim2.new(current.Value/max.Value, 0, 1, 0)	
end)

Please Let Me Know-How
And Here’s How It Looks Like
Screenshot_64

1 Like

you can create a new text label then make it size as level guis and make so if player levels up the text will become visible and matbe after 3 seconds it will become invisible (i was writing on phone so you might find some mistakes)

— add this 
level.changed:Connect(function(val)
textlabel.visible = true
wait(3)
textlabel.visible = false