Unexpected symbol GUI

Thats is my code but o think all is right but console writing me “Unexpected symbol GUI”
Thanks for all
using UnityEngine;
using System.Collections;

public class Gracz : MonoBehaviour {
public int MaxHP;
public int HP;
public int Glod;
public int Woda;
public int Sen;
public GUISkin skinHP;
// Use this for initialization
void Start () {
MaxHP = 100;
HP = MaxHP;
Glod = 100;
Sen = 100;
Woda = 100;
}

// Update is called once per frame
void Update () {

}
void OnGUI()
{
	GUI.skin = skinHP;
	GUI.Box (new Rect (10, 10, 200, 50), "Zycie: " + HP);
}

}

Your code works in my scene, so it must be something else. Create a new scene and put your script on a new object without anything else and test again; should work. You don’t have to set default value in Start(), you can do it after the variable declaration as well.