GUI Text Drag and Drop Error

Hello i have made i simple gui text which is for counting my score for example. In the Gui Text i have attached a scipt right below:

using UnityEngine;
using System.Collections;

public class GUIStarCounter : MonoBehaviour {

	public GUIText Score;
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
		Score.text =PublicVariables.StarCount.ToString();
				}

	}

The problem is that when i try to drag and drop the gui text(Score) from my Hierarchy to the variable Score which is set as GUIText i cant do that…

[41377-στιγμιοτυπο-οθονης-5.png|41377]

As u can see at the picture the highlighted Score at the hierarchy is the one i try to drop to Score at my Scipt(GUIstar Counter) at the botton left

Change your Score variable to use the Text type from UnityEngine.UI’s namespace.

 using UnityEngine;
 using UnityEngine.UI;
 using System.Collections;
 
 public class GUIStarCounter : MonoBehaviour {
 
     public Text Score;
     void Start () {
     
     }
     
         // Update is called once per frame
         void Update () {
             Score.text =PublicVariables.StarCount.ToString();
         }
 
     }