What is wrong with this overhead UI?

Hello,

So I have made a overhead name tag and things for my game but I am having an issue with my script which is confusing me in why it will not work. If anyone could point out the mistake I have made if one that will be great!

Server Script:

game.Players.PlayerAdded:Connect(function(Player)
	Player.CharacterAdded:Connect(function(Character)
		local HeadUI = game.ServerStorage.Overhead:Clone()
		HeadUI.Parent = Character.Head
		HeadUI.Name.Text = Player.Name
		
	end)
end)

image

1 Like

Can I see the explorer and where the nametag is located?

HeadUI.Name.Text

name is the name of a property instead use HeadUI:FindFirstChild(“Name”)

2 Likes

Ah yes I completely forgot cuz it will get the name of the HeadUI correct?

Yes, HeadUi.name will get the name of the HeadUi.