Basically there’s an issue where the NameTag above someone’s avatar is set to the default which is Megaificent. Let’s say you’re not me, and your name was Cool123. When you join it would say Megaificent instead of Cool123 until you died. Here’s the script:
local rep = game:GetService("ReplicatedStorage")
local nametag = rep.NameTag
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(char)
local head = char.Head
local newtext = nametag:Clone()
local uppertext = nametag.UpperText
newtext.Parent = head
newtext.Adornee = head
uppertext.Text = player.Name
end)
end)
I don’t think there would be any errors, everything works it’s just not parenting the NameTag to the head when you join. (It is but it’s not the correct username)
After all those tries I don’t think It’s something in this script really, are you sure It’s not parenting the nametag? Try manually inserting it to the player’s head while in-game so you see if It works.
I don’t think people understand the issue, so let me reiterate. (This is a custom NameTag) Pretend there was a guy named Cool123, he joins the game and the NameTag above his head is Megaificent because that’s the default one I put temporarily. But once you reset, it switches to the appropriate username corresponding to the person. (Cool123)
That’s not true, when joining a game your avatar needs to load and it works fine on some of my gamepass scripts. It’s true that it does fire after the player dies though.