How can I remove the health gui? Here's my script:
local StarterGui = Game:GetService("StarterGui") StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Health,false)
just write in LocalScript, in StarterGui
game.StarterGui:SetCoreGuiEnabled("Health", false)
Make sure you put this in a LocalScript, inside StarterGui
local sg = game.StarterGui sg:SetCoreGuiEnabled(1, false) -- 1 = health gui
game.Players.PlayerAdded:connect(function(plr) plr:SetCoreGuiEnabled(Enum.CoreGuiType.Health,false) end)
or
game.Players.PlayerAdded:connect(function(plr) plr:SetCoreGuiEnabled(1,false) end)
local StarterGui = Game:GetService('StarterGui') StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Health, false)
This will work trust me
In a LocalScript located in the StarterGui, put this:
wait(1) game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Health, false)