--//When a player joins the game

players.PlayerAdded:Connect(function(player)
	local teamColor = player.TeamColor
	
	player.CharacterAdded:Connect(function(character)
		local humanoid = character:WaitForChild("Humanoid", 60)
		
		humanoid.Died:Connect(function()
			FindKiller(teamColor, humanoid)
		end)
		
	end)
end)
