I’ve made a name tag with a BillboardGui, and I’ve ran into a problem: whenever the player dies after it respawns the tag disappears.
To fix this problem I’ve tryied to connect a Died event to the PlayerAdded event, and I wrote this snippet of code:
game.Players.PlayerAdded:Connect(function(plr) plr.Character:FindFirstChild("Humanoid").Died:Connect(function() local tagClone = game.ReplicatedStorage.NameTag:Clone() --- other code here end end
The problem is that it works only one time (does it works only one time because it gets garbage collected?).
Have you got any idea on how to fix the problem (or another method to accomplish this)?
Thanks in advance!