Overhead GUI script not working

Hey!

I am working on an overhead GUI and have tested it in game but it is not working, I have the BillboardGui in ServerStorage and the script in ServerScriptService.

Here is the code:

https://gyazo.com/453bad694d7856ddd398dd22b3e3b3a7

If anyone could help that would be great!

Hey! So the problem is that you are not getting the Head of the player and not using the character argument correctly, to work you should’of find the Head object in the character not the player itself, that’s why It didn’t work, and here is a probably working version of your script!

-- // Services 
local Players = game:GetService("Players")
local ServerStorage = game.ServerStorage

-- // Variables
local BillboardGui = ServerStorage:FindFirstChild("BillboardGui")

-- // Events
Players.PlayerAdded:Connect(function(Player)
    Player.CharacterAdded:Connect(function(Character)
       local _b = BillboardGui:Clone()

        _b.Parent = Character:WaitForChild("Head")
        _b.TextLabel.Text = "Noob"
        _b.TextLabel.TextColor3 = Color3.fromRGB(4, 255, 0)

        warn("Nametag added!")
   end)
end)