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

How do I remove nameplates above a player?

Asked by 10 years ago

I am new to scripting and I am building a game and i need nameplates removed.

0
Do your research before coming here! http://wiki.roblox.com/index.php?title=Hiding_humanoid_names Perci1 4988 — 10y
1
Thanks guys!! been really helpful!! upbeatzombienation 0 — 10y
0
Or you could just set StarterPlayers Name and Health Display Distances to 0 without ever using a script. GoldenPhysics 474 — 10y

3 answers

Log in to vote
2
Answered by 10 years ago

Simple.

function RemoveName(player)
    player.NameDisplayDistance = 0
    player.HealthDisplayDistance = 0
end

Game.Players.PlayerAdded:connect(RemoveName) -- This is to know that when a player joins, the function activates

I used PlayerAdded to show that when someone joins, this activates.

1
^ I hope it helped! groovydino 2 — 10y
Ad
Log in to vote
0
Answered by
DataStore 530 Moderation Voter
10 years ago

Have a gander at this page: http://wiki.roblox.com/index.php?title=Hiding_humanoid_names

Log in to vote
0
Answered by 10 years ago
function Hide(player)
    player.NameDisplayDistance = 0
    player.HealthDisplayDistance = 0
end

Game.Players.PlayerAdded:connect(Hide)

Answer this question