Error: cs0029

My Code:

using UnityEngine;
using System.Collections;
public class OnScreen : MonoBehaviour {
	public GUI lblScore = GUI.Label(new Rect(0,0,10,20),"Score:" + General.Score);
	public GUI btnReset = GUI.Button(new Rect(0,0,5,10),"Reset Level");
	void Update () {
	if(btnReset) {
	Application.LoadLevel(Application.loadedLevel);
	
		}
		
	}
}

My Errors:

Assets/My Assets/Scripts/OnScreen.cs(4,35): error CS0029: Cannot implicitly convert type void' to UnityEngine.GUI’

Assets/My Assets/Scripts/OnScreen.cs(5,35): error CS0029: Cannot implicitly convert type bool' to UnityEngine.GUI’

IsaactheDev!

GUI.Label and GUI.Button are for use in function OnGUI()
Labels are void as they do not return a value. Buttons are bools as they are true or false (pressed or not)

Try something like :

function OnGUI ()
{
     GUI.Label(new Rect(0,0,10,20),"Score:" + General.Score);
     GUI.Button(new Rect(0,0,5,10),"Reset Level");
}

But careful as OnGUI() can be expensive.