Amritss
(EmperorOfChickens)
December 28, 2024, 6:55pm
#1
Players.PlayerAdded:Connect(function(Player)
Player.NameDisplayDistance = 0
end)
I’ve tried other methods such as using starterhumanoid, but all lead to the same thing. My display name can still be seen:
I’m doing this in roblox studio by the way if that changes anything. And this screenshot was taken by switching from client to server.
Doomcolp
(dxxmed)
December 28, 2024, 6:58pm
#2
Why don’t you just set your players’ display names to nothing instead?
Mythi_54
(cowboy_Mythi)
December 28, 2024, 6:59pm
#4
What does it like the code of player?
Amritss
(EmperorOfChickens)
December 28, 2024, 6:59pm
#5
The current thread cannot set ‘Player’s display name’ (lacking capability WritePlayer)
1 Like
Mythi_54
(cowboy_Mythi)
December 28, 2024, 6:59pm
#7
What do you know about the code? Player display
Amritss
(EmperorOfChickens)
December 28, 2024, 7:00pm
#8
i don’t know what you’re saying cowboy
Mythi_54
(cowboy_Mythi)
December 28, 2024, 7:00pm
#9
I’m asking about script that player display write
Amritss
(EmperorOfChickens)
December 28, 2024, 7:01pm
#10
oh alright i’ll send it in a second
Doomcolp
(dxxmed)
December 28, 2024, 7:01pm
#11
Oh my bad I meant Humanoid.DisplayName
sorry!
Mythi_54
(cowboy_Mythi)
December 28, 2024, 7:01pm
#12
And I idea if you send it will definitely not work about the script
Amritss
(EmperorOfChickens)
December 28, 2024, 7:02pm
#13
local Players = game:GetService("Players")
Players.PlayerAdded:Connect(function(Player)
Player.NameDisplayDistance = 0
end)
This is all the code
Mythi_54
(cowboy_Mythi)
December 28, 2024, 7:02pm
#14
Maybe this will be right but try it to work
Amritss
(EmperorOfChickens)
December 28, 2024, 7:04pm
#15
I already did but it fails man I’m not sure.
Amritss
(EmperorOfChickens)
December 28, 2024, 7:05pm
#16
Just did that, no error but it just changes my displayname to my username.
local Players = game:GetService("Players")
Players.PlayerAdded:Connect(function(Player)
Player.CharacterAdded:Connect(function(Character)
Character.Humanoid.DisplayName = ""
end)
end)
Mythi_54
(cowboy_Mythi)
December 28, 2024, 7:05pm
#17
-- Place this script in a LocalScript or a Script, depending on where you want to execute it.
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
-- Ensure the character has loaded before proceeding
wait(1)
-- Find the Humanoid and Billboards
local humanoid = character:FindFirstChild("Humanoid")
if humanoid then
-- Find all existing name tags (BillboardGuis)
for _, child in pairs(character:GetChildren()) do
if child:IsA("BillboardGui") then
-- Remove or disable the name tag
child.Enabled = false
end
end
end
end)
end)
1 Like
Amritss
(EmperorOfChickens)
December 28, 2024, 7:06pm
#18
Is this chat GPT code or from you
2112Jay
(2112Jay)
December 28, 2024, 7:06pm
#19
Not saying I’ve never had problems with this… but, NameDisplayDistance is on the Humanoid.
local Players = game:GetService("Players")
Players.PlayerAdded:Connect(function(Player)
Player.CharacterAdded:Connect(function(Character)
local humanoid = Character:WaitForChild("Humanoid")
humanoid.NameDisplayDistance = 0
end)
end)
Mythi_54
(cowboy_Mythi)
December 28, 2024, 7:06pm
#20
But try this I sent a new script if it worked with you