Registering Deaths

game.Players.PlayerAdded:Connect(function(plr)
	plr.CharacterAdded:Wait()
	
	plr.Character:WaitForChild('Humanoid').Died:Connect(function()
		print(plr.Name.." has died!")
		
		if game.ServerStorage.Round.Value == true then
			plr.Won.Value = false
		end
	end)
end)

this only works when the player has not died in the server yet, once they die it will stop registering their death
does anyone know why?

Once they die the humanoid is destroyed and the .Died connection will be gone as well.

Consequently use .CharacterAdded to detect the new character and create a new connection for that new humanoid in the new character.

Thanks!

Solution:

game.Players.PlayerAdded:Connect(function(plr)
	plr.CharacterAdded:Connect(function()
		plr.Character:WaitForChild('Humanoid').Died:Connect(function()
			print(plr.Name.." has died!")

			if game.ServerStorage.Round.Value == true then
				plr.Won.Value = false
			end
		end)
	end)
end)