Succession of GUI

Hi everyone! i was trying to do a script where some GUI alternate in a succession. My problem is that i don’t know hot to interact the time with the GUI. Here there is my script:
#pragma strict

var tempoRimanente : int = 30;

function Start () {

}

function Update () {

}

function OnGUI () {
GUI.Label (Rect (750,750,750,750), “Hey… ma che cosa…”);
}

function Decrementa () {
while(true)
{
tempoRimanente = tempoRimanente - 1;
yield WaitForSeconds(1);
}
}

I don’t know also how to do the GUI bigger. Ty! :slight_smile:

Your Decrementa method never runs, you need to call its known Start method

 function Start () {
StartCoroutine(Decrementa());
}