Name tag Disappearing Issue

Hello!
I got an issue with name-tags

In-Studio

image

In-Game

image

There is nothing in code that deleted the hp bar frame

https://gyazo.com/4e0e58177c7bf416a0e6729cbebc89aa
Once I respawn the hp bar frame disappears

3 Likes

While you didn’t provide any code, so it’s hard to pinpoint the exact reason, but unless you’re cloning it into the character upon each reset, it’s just being deleted by the character resetting. When someone’s character respawns, everything in their character model is removed and recreated. This is most likely your issue. Just try making a characterAdded function and cloning it into the character on each reset.
Hope this helps

1 Like

In the script only giver:

tag:Clone().Parent = head
2 Likes

Hey, could you send the entire giver code rather than only sending a snippet of you parenting the clone to the head? It’s not really useful to us trying to help you.

2 Likes

image
Just noticed, that’s works in baseplate but not in my game. That means something wrong in-game.

2 Likes

Oohh…
Just noticed i have a script like this:

function Added(Model)
wait(5);
if Model == nil then return end
if Model.Name == "Health" then
if Model == nil then return end
print("Removed Health");
Model:remove();
end
end
game.Workspace.DescendantAdded:connect(Added)

In my name-tag contains a frame called “Health”, so thats why…

2 Likes