Its a level up gui that will pop up, then go nil afterwards. But it doesn't above the Local Player's Head
local player = game.Players.LocalPlayer.Character
local gui = Instance.new("BillboardGui",workspace)
gui.Name = "LEVELUP"
gui.Size = UDim2.new(5,0,2,0)
gui.ExtentsOffset = Vector3.new(0,8,0)
Instance.new("Frame",gui)
gui.Frame.Size = UDim2.new(1,0,2,0)
gui.Frame.BorderSizePixel = 0
local Image = Instance.new("ImageLabel",gui.Frame)
Image.BorderSizePixel = 2
Image.BorderColor3 = Color3.new(20/255,20/255,20/255)
Image.Size = UDim2.new(1,0,1,0)
Image.Image = "rbxassetid://167251759"
local TextLabel = Instance.new("TextLabel",gui.Frame)
TextLabel.Size = UDim2.new(1,0,1,0)
TextLabel.Font = "ArialBold"
TextLabel.Text = "LEVEL UP"
TextLabel.FontSize = Enum.FontSize.Size28
TextLabel.TextScaled = true
TextLabel.TextWrapped = true
TextLabel.BackgroundTransparency = 1
TextLabel.TextStrokeColor3 = Color3.new(100/255,100/255,100/255)
TextLabel.TextStrokeTransparency = 0
TextLabel.TextColor3 = Color3.new(255/255,200/255,50/255)
TextLabel.BorderSizePixel = 0
gui.Parent = player.Head
wait(5)
gui.Parent = nil

5 comments
Your code seemed to run fine in my testing. Are you using a LocalScript and where are you trying to run it from?
The script is in workspace, and its localscript
You have to set the GUI's Adornee!
A LocalScript won't run under Workspace unless it's in a character Model.
What is Adornees for?