How can i display score?

i been using GUI to display score now i want to use UI but i can’t make it work any help?

public Text myScore;
	private int Score = 0;
	// Use this for initialization
	void Start () {
		MakeScore ();
		InvokeRepeating ("AddScore", 1, 1);	}
	
	void MakeScore()
	{
		myScore.text = "Score: " + Score.ToString ();
	}
	void AddScore()
	{
		Score += 10;
	}
}

You are not updating the text. You have to call the MakeScore function at the end of your AddScore function so that the new score will be displayed inside your GUI text element.