while true do for inx, val in pairs(game.Players:GetPlayers()) do if val:FindFirstChild("PlayerGui") then if val.PlayerGui:FindFirstChild("HealthGUI") then val.PlayerGui.HealthGUI:Remove() end end end wait() end
The Health Gui won't remove? There must be update.
game.StarterGui:SetCoreGuiEnabled("Health", false) --This will remove the health bar Gui by ROBLOX.
This script must be in a local script. Inside of StarterPack or StarterGui.