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

How can i hide humans name and health?

Asked by 8 years ago

I want to hide players name and health without hiding their head or replace with something. i want to make all humanoid s DisplayDistanceType(None) in server Help me please

1 answer

Log in to vote
1
Answered by 8 years ago

This does not need a script to run. The service StarterPlayer is Datamodel contains all the attributes the player will have in-game. There are 2 properties that can be changed

StarterPlayer.HealthDisplayDistance -- sets range to see health bar
StarterPlayer.NameDisplayDistance -- sets range to see name

These are both floats that tell the range that someone has to be in to see the the player's name/health. 0, being unseen.

Ad

Answer this question