Hiding CoreGUI Health, leads to hiding the Captures option from hamburger menu

Hello
Running the following code in a Local script on an empty baseplate, hides the Captures option from the hamburger menu

game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, false)
task.wait(2)
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, true)
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Health, false)

image

Happens both in Studio and in live game

Expected behavior

I expect the Captures option to not be hidden from hamburger menu

2 Likes

Removing the last line of your code would make the button appear? The title is misleading if so.

yes, removing the last line will make the Captures option appear.
What is wrong with the title?

1 Like