Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do i remove a Npc's Health bar? (not invishead/fake head or humanoid health 0)

there must be a script out there that does this.

(not invisible head/fake head or humanoid health 0 or max health 0)

1 comment

0

still doesn't answer the question, i need a living NPC but with no healthbar

4 answers

✓ Accepted answer

According to the wiki, there are only two solutions:

  • The HealthDisplayDistance and NameDisplayDistance properties of a player. This will enable you to hide the player's name and health if you set both to zero when they join the game. However, this will only work for a player's character not non-player characters.
  • Setting the transparency of the Humanoid model's head to 1. This will make both the GUI shown above and the Humanoid's head invisible, and should only be used when the Humanoid belongs to a non-player character.

If you have an NPC, you will have to create a fake head if you don't want the NPC's head to be invisible.

3 comments

0

I actually looked into HealthDisplayDistance a few hours ago for this answer, but it didn't do anything setting it to 0.(It was indeed set to 0, I checked.)

1

Set NameDisplayDistance and HealthDisplayDistance to 0 in the StarterPlayer element while in Studio. Don't use a script to do this or else it won't work.

0

Also note that it doesn't work with NPC's.

Timster111 and Tevolo, WRONG! That would be stupid, they would just die.

This, is what I call correct.

function PlayerHP(plr)
plr.HealthDisplayDistance = 0
end

Game.Players.PlayerAdded:connect(PlayerHP)

You would go to the NPC's Humanoid's Properties, and change the Max Health to 0.

This discussion is preserved as it was. New answers, comments, and votes are closed.