The starterGui shows for everyone… Its the starterGui and it does not update live, but rather what you spawn with! But instead we have the PlayerGui, which is from player to player! Do this instead:
local player = game.Players.LocalPlayer
script.Parent.MouseButton1Click:Connect(function()
player.PlayerGui.HealthGui.Background.Visible = true
player.PlayerGui.HealthGui.HealthDisplay.Visible = true
player.PlayerGuii.HealthGui.TextLabel.Visible = true
end)
local player = game.Players.LocalPlayer
while task.wait(.07) do
player.PlayerGui.HealthGui.ResetOnSpawn = false
end
script.Parent.MouseButton1Click:Connect(function()
player.PlayerGui.HealthGui.Background.Visible = true
player.PlayerGui.HealthGui.HealthDisplay.Visible = true
player.PlayerGui.HealthGui.TextLabel.Visible = true
end)