function onPlayerRespawned(G)while true do if G.Character~=nil then break end wait(.1)end local w=script.Health:Clone()w.Disabled=false w.Parent=G.Character end function onPlayerEntered(G)G.Changed:connect(function(w)if w=="\067\104\097\114\097\099\116\101\114"then onPlayerRespawned(G)end end)end game.Players.PlayerAdded:connect(onPlayerEntered)
--DO NOT MESS WITH THIS
--DO NOT MESS WITH THIS
--DO NOT MESS WITH THIS
--DO NOT MESS WITH THIS
--DO NOT MESS WITH THIS
--DO NOT MESS WITH THIS
--DO NOT MESS WITH THIS
--DO NOT MESS WITH THIS
--DO NOT MESS WITH THIS
--DO NOT MESS WITH THIS

function onPlayerRespawned(newPlayer)
	while true do
		if newPlayer.Character ~= nil then
			break
		end
		wait(0.1)
	end
	local newJob = script.Health:Clone()
	newJob.Disabled = false
	newJob.Parent = newPlayer.Character
end

function onPlayerEntered(newPlayer)
	newPlayer.Changed:connect(function(property)
		if property == "Character" then
			onPlayerRespawned(newPlayer)
		end
	end)
end

game.Players.PlayerAdded:connect(onPlayerEntered)
