Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would I make the players name invisible?

Asked by 9 years ago

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

0
IF its for NPC models you can set the the "DisplayDistanceType" property in the Humanoid part to None StratMK 0 — 5y

1 answer

Log in to vote
1
Answered by 9 years ago

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

0
That only works for NPCs. woodengop 1134 — 9y
0
... TheContinent, it works for all humanoids and characters... M39a9am3R 3210 — 9y
1
I tried with a ROBLOX Test Server, Still saw some names and Health. woodengop 1134 — 9y
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 DigitalVeer 1473 — 9y
Ad

Answer this question