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

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

Asked by 9 years ago

there must be a script out there that does this.

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

0
still doesn't answer the question, i need a living NPC but with no healthbar FrozenWinterz 50 — 9y

4 answers

Log in to vote
1
Answered by
Perci1 4988 Trusted Moderation Voter Community Moderator
9 years ago

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.

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.) Thetacah 712 — 9y
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. FearMeIAmLag 1161 — 9y
0
Also note that it doesn't work with NPC's. Perci1 4988 — 9y
Ad
Log in to vote
0
Answered by 9 years ago

Max health = 0

0
That would kill the NPC. EzraNehemiah_TF2 3552 — 9y
0
HAHEAH laughed hard at this one... Tesouro 407 — 9y
Log in to vote
0
Answered by 9 years ago

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)
Log in to vote
-1
Answered by 9 years ago

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

Answer this question