Trouble with GUI text

I created a UI Text to display score for my game. In order to do so, I declared a variable (classified as GUI text) to hold my UI text. However, I cannot drag the Text object into the property. Please help me (I use Unity 4.7.2 by the way)

What do you mean by “classified as GUI text”? How do you declare your variable? Is the type correct? It should be “UnityEngine.UI.Text”.

I’ve mostly used Unity 5, so this might not be applicable to 4.7.2, but try using the Text type, instead of GUIText.

Thanks a lot. However, the problem was me, I was such a dumbass the realize I can create GUIText in the component menu. Instead, I created UIText in the Hierachy lol