How can I disable the Username in-game?

Hello, I made a Rank Tag and Name, so…Can someone tell me how can I disable the Username because I have a Username in the tag.

8 Likes

If you’re looking to disable the default display name then this should do:

Humanoid.NameDisplayDistance = 0

Same concept for the health bar except the property is different:

Humanoid.HealthDisplayDistance = 0
3 Likes

I mean the Username Overhead, how can I disable it?

I’m not quite sure what you’re trying to achieve. If this is your own name tag, then you need to provide the code.

Click on StarterPlayer then in the properties locate where it says “NameDisplayDistance” and set the value to 0, then locate where it says “HealthDisplayDistance” and also set the value to 0. This is a simpler and easier way to understand what @CanadianDefenders stated previously.

3 Likes

That’s what this achieves, isn’t it?

I never knew you could modify the properties from the explorer. I’m so used to doing it via scripts lol

3 Likes

I am not sure that it is the best way to do that, but you can also that that:

game.Players.PlayerAdded:Connect(function(plr)
	plr.CharacterAdded:Connect(function(char)
		char:WaitForChild("Humanoid").DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
	end)
end)

That disables the username above the player’s head.

Note: I noticed you can also changed that in the StarterPlayer as a property, there’s no need for a script.

9 Likes

Just rename model of player in workspace to " " whitespace string and it’s going to disappear.

But then all of the players will be named " ", what if you want to use the F9 menu to change a player’s property to his character? Without having to write a very long command through the game.Players? And what if he tried to get the character from the workspace by name? That’s not efficient in my opinion.

Give us the code for the

Rank Tag and Name

Otherwise, we can’t help you.

Why? The only thing he asked for is how to disable the username above the head. He had no problem with with the tag script as I understood.

1 Like

If you meant that you had to just make a custom overhead invisible for the client only, what you can do is, just set its “visible” property to false via a LocalScript. That way, the client wouldn’t see the overHead above his own head, but others can see his.

Edit: Sorry, replied to wrong person.

Didn’t he mean that everyone should see the tag of the rank? That’s what I have uderstood.

1 Like

Yes, but someone already answered that, and the OP replied that the meant the Username Overhead, which could only be the script he made/found unless I’m misunderstanding something.

He said he wants to disable that, which I guess means that he used a gui. Because why would he want to disable that if it’s not colliding? If he managed to get a custom overhead username then why would he disable that?

image

Isn’t this what he wanted to disable?

My guess is this was from a tutorial, and he just prefers the default username.

Edit: Yes, you were right. @LightningLion58

1 Like

What I’ve understood from this is that he has made a custom overhead gui, but the player should not see his own overhead gui. @Abd_Dev could you please elaborate the issue?

1 Like

No, I meant that I made Overhead Gui and this Gui have a name and I want to disable the main name because there is a name is the Gui.

It works, Thank you. :sparkling_heart:

Great! Please mark the answer that helped you solve it as a solution :grinning:
Edit: I did not see it nvm.