/*Add at the beginning of the code:*/ using UnityEngine.UI; /*then replace GUIText with Text*/
/*Open the . cs file that Unity is indicating on the error (you can use any text editor for this, even notepad) Insert*/ using UnityEngine. UI; /*on the beggining of the . cs file. Replace GUIText with just Text.*/