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



function onPlayerRespawned(newPlayer)
	while true do
		if newPlayer.Character ~= nil then break end
		wait(.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)
