Alright, so basially I have been trying to script a name that will show up above someone’s head when they join the game. I have never scripted before, so this is a beginner issue probably. Could anyone tell me what I did wrong in the code? It doesn’t give me any errors.
local rep = game:GetService("ReplicatedStorage")
local nametag = rep.NameTag
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Conneect(function(char)
local head = char.Head
local newtext = nametag:Clone()
local uppertext = newtext.UpperText
newtext.Parent = head
newtext.Adornee = head
uppertext.Text = player.Name
end)
end)```