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

Hiding Players Name & Health?

I have a zombie but you can see his health and name around a corner how can make it so his health and name is invisible?? Plz answer anything helps.

2 answers

✓ Accepted answer

To hide the name and health of a model containing a Humanoid, do the following:

  • Rename the part named "Head" to something else like "TrueHead"
  • Add a new part to the model and name it "Head"
  • Set the transparency of the new "Head" to 1

I made the head invisible to hide the health and name. Created a falsehead and welded it to the torso.

Game.Players.PlayerAdded:connect(function(Player)
	Player.CharacterAdded:conect(function(Character)
		local Head = Character.Head
		local FalseHead = Head:Clone()
		FalseHead.Name = "False Head"
		Head.Transparency = 1
		FalseHead.Parent = Character
		local Weld = Instance.new("Weld",FalseHead)
			Weld.Part0 = FalseHead
			Weld.Part1 = Character.Torso
	end)
end)

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