Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How would I make the players name invisible?

Is there a way to do this? I'm trying to make a custom name tag.

1 comment

0

IF its for NPC models you can set the the "DisplayDistanceType" property in the Humanoid part to None

1 answer

✓ Accepted answer

There are two properties of Player that you may find useful:

NameDisplayDistance : http://wiki.roblox.com/index.php?title=API:Class/Player/NameDisplayDistance

HealthDisplayDistance: http://wiki.roblox.com/index.php?title=API:Class/Player/HealthDisplayDistance

Using this in RbxLua, we can do:

game.Players.PlayerAdded:connect(function(p)
p.HealthDisplayDistance = 0
p.NameDisplayDistance = 0
end)

Source:

http://wiki.roblox.com/index.php?title=Hiding_humanoid_names

4 comments

0

That only works for NPCs.

0

... TheContinent, it works for all humanoids and characters...

1

I tried with a ROBLOX Test Server, Still saw some names and Health.

0

"This will enable you to hide the player's name and health if you set both to zero when they join the game. However, this will only work for a player's character not non-player characters.". Even Roblox states this only works on Players

This discussion is preserved as it was. New answers, comments, and votes are closed.