The Health gui won't bug off >:O

I’m using:
[code]

repeat wait() until game.Players.LocalPlayer.Character
StarterGui = Game:GetService(‘StarterGui’)

			StarterGui:SetCoreGuiEnabled("All", false)
			StarterGui:SetCoreGuiEnabled("Health", false) --Because ALL doesn't hide the HealthGui
			StarterGui:SetCoreGuiEnabled("Chat", true)[/code]

…but no matter what the HealthGui always pops up.
Anyone else noticing this new HealthGui doesn’t like to be removed?
No problems hiding any other CoreGui. Just the Health Gui is the one being a jerk.

I need help. [size=6]Q_Q[/size]

I’m having the same problem :c it won’t go away :angry:

Supposedly it’s a part of the Playerlist CoreGui now. Try disabling that.

Move to > Bug Reports (Moderators ?)

PlayerList already gets disabled and it doesn’t work.
Health gui has it’s own Enum value called “Health” so I’m assuming it’s the Gui.

game.StarterGui:SetCoreGuiEnabled(1,false) game.StarterGui:SetCoreGuiEnabled(2,false)

I have this in a local script in StarterGui and it works fine.

Try using the enums instead.

[quote] game.StarterGui:SetCoreGuiEnabled(1,false) game.StarterGui:SetCoreGuiEnabled(2,false)

I have this in a local script in StarterGui and it works fine. [/quote]

Not for me.

GOOOOOOOOOOOOOOOOOOOOOO AWAAAAAAAAAYYYYYYYYY HEALTH GUI

This removes ALL CoreGUIs

p=game.Players:GetChildren() for i=1,#p do play={p[i].Name} c=game.CoreGui for i,v in pairs(play)do c.RobloxGui:remove() wait() end end

I guarantee this script will remove the Health Bar

[code]Health_Bar = false

if Health_Bar == true then
game.StarterGui:SetCoreGuiEnabled(1,true)
elseif Health_Bar == false then
game.StarterGui:SetCoreGuiEnabled(1,false)
end
[/code]

Yay. Moved. I didn’t even think this was a bug when I posted, just thought I was doing something stupid.

I’ve got a solution, but it’s a really hacky one.

One of my friends suggested I try looping it until it’s disabled, which seems to have worked as opposed to just trying to disable it once (which doesn’t work)

local starterGui = game:GetService("StarterGui");
Spawn(function()
	repeat wait() 
		starterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Health, false);
	until not starterGui:GetCoreGuiEnabled(Enum.CoreGuiType.Health);
end);

I put it in a spawn, so it wouldn’t yield the rest of my code. It seems it doesn’t make the HealthGui go away if you do it once.

They need to fix this, we shouldn’t have to resort to things like this.

External Media

[quote]
External Media
[/quote]
There wasn’t much need for that. If he wants to use semicolons, he can. In fact, at times, I use semicolons inadvertently. (C# makes me so I got used to it so yeah)

Just use the enums. Problem solved.

Doesn’t seem to make a difference.
I have formulated a 100% working temporary fix, I will upload it soon.

This should work as expected now