I'm getting tired of error after error. Here is my code in Unity(the only script I have in my game with errors),

heres my coding

using System;
using System.Collections;
using UnityEngine;
using UnityEngine.EventSystems;
    
public class EventSystemChecker : MonoBehaviour
{
    //public GameObject eventSystem;

	// Use this for initialization
	void Awake ()
	{
	    if(!FindObjectOfType<EventSystem>())
        {
           //Instantiate(eventSystem);
            GameObject obj = new GameObject("EventSystem");
            obj.AddComponent<EventSystem>();
            obj.AddComponent<StandaloneInputModule> = true;
            obj.AddComponent<TouchInputModule>();
        }
	}
}

Without the actual error two things immediately stand out.

Your missing parenthesis and the property/field of StandaloneInputModule you’re trying to set to true, below i used enabled but you may have meant something different.

using System;
using System.Collections;
using UnityEngine;
using UnityEngine.EventSystems;

public class EventSystemChecker : MonoBehaviour 
{ 

	//public GameObject eventSystem;

	// Use this for initialization
	void Awake ()
	{
		if(!FindObjectOfType<EventSystem>())
		{
			//Instantiate(eventSystem);
			GameObject obj = new GameObject("EventSystem");
			obj.AddComponent<EventSystem>();
			obj.AddComponent<StandaloneInputModule>().enabled = true;// <-- missing parenthesis here as well as a member, did you mean enabled?
			obj.AddComponent<TouchInputModule>();
		}
	}
}

In the future you should totally add the information from the error in the console. Also you should consider errors a learning experience, if not you may go mad.