If someone dies, the overhead will disappear and reappear

repeat wait() until game.Players.LocalPlayer.Character

local Player = game.Players.LocalPlayer

local Camera_Module = require(game.StarterGui.Module["Camera Module"])
local Number_Module = require(game.StarterGui.Module["Number Module"])
local Tween_Module = require(game.StarterGui.Module["Tween Module"])

function BG()
		
		for i,v in pairs(game.Players:GetPlayers()) do
			
			local HRP = v.Character.PrimaryPart

			if HRP:FindFirstChildOfClass("BillboardGui") and v.Character.Humanoid.Health > 0 then

				HRP:FindFirstChildOfClass("BillboardGui"):Destroy()

			end

		end

		for i,v in pairs(game.Players:GetPlayers()) do

		if v and v.Character and v.Character.Humanoid.Health > 0 then
			
			local HRP = v.Character.PrimaryPart

			local Clone = game.ReplicatedStorage.BillboardGui:Clone() do

				Clone.Parent = HRP
				Clone.TextLabel.Text = Number_Module.ReCaculate(v.leaderstats.Time.Value)

			end
			
		end
			
			--[[
			
			if v ~= Player then
				
				if Player.leaderstats.Time.Value > v.leaderstats.Time.Value + 1 then
					
					Clone.ImageLabel.Visible = true
					
				else
					
					Clone.ImageLabel.Visible = false

				end
			end
			
			]]

		end
	
end

game["Run Service"].RenderStepped:Connect(BG)
1 Like