Help about gui box

Hi people I need help about gui box. I want to show gui box when you finish the game or time is over. I try more script but I can’t. And in gui box write some sentences like “Time is over” or “You complete first level”. Thank you in advance.

Simply call a function similar to below when the game is over:

private bool _gameOver = false;

.
.
.

function OnGUI() {
   if (_gameOver)
      GUI.Box(new Rect(5, 5, 200, 100), "Game over!");
}

Or something similar. Hope it helps. :slight_smile: