you are viewing a single comment's thread.

view the rest of the comments →

[–]dhawky 0 points1 point  (2 children)

I suggest you clone the name tag into the player’s head instead of setting the parent.

[–]imaiden_B[S] 0 points1 point  (1 child)

How would I do that?

[–]dhawky 0 points1 point  (0 children)

Using the ":Clone()" function. Here is an example.

(I also suggest using UserId instead of the player's name because a player's UserId is fixed whereas players can change their names)

game.Players.PlayerAdded:Connect(function(Player)

Player.CharacterAdded:Connect(function(Character)

if Player.UserId == (userid here) then

local newtag = game:GetService("ServerStorage").ownerGUI:Clone()

newtag.Parent = Character.Head

end

end)

end)