Why won't it change the text to the players name?
Nametag is a BillboardGui
local Nametag = game:GetService("ReplicatedStorage"):WaitForChild("Nametag")
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
print(player.Name)
local ClonedNametag = Nametag:Clone()
ClonedNametag.Parent = game.Workspace:WaitForChild(player.Name).Head
ClonedNametag.Name.Text = player.Name
end)
end)
Error - Workspace.Scripts.NameTag:9: attempt to index field 'Name' (a string value)
