How would I hide a players name?
I've tried changing the NameDisplayDistance to 0, and changing the DisplayDistanceType, but it is making the other player's names disappear?
I'm using a TextButton, please help.
How would I hide a players name?
I've tried changing the NameDisplayDistance to 0, and changing the DisplayDistanceType, but it is making the other player's names disappear?
I'm using a TextButton, please help.
Going off of what 1waffle1 said. This is inside of a Script in a TextButton in a ScreenGui
local Button = script.Parent
local function Hide()
local Player = Button.Parent.Parent.Parent
if Player.Character then
Player.Character:WaitForChild('Humanoid').DisplayDistanceType = "None"
end
end
Button.MouseButton1Click:connect(Hide)
Set Humanoid.DisplayDistanceType to "None"
Name and healthbar will not be displayed under any circumstance
This discussion is preserved as it was. New answers, comments, and votes are closed.