How do I make a GameOver script?

I just can’t figure it out! Here is what I already have. [1197-Screen+shot+2012-06-08+at+5.57.04+PM.png|1197] What do I need to add? btw, I am a beginner. :slight_smile:

If you want to load a scene, add this to OnTriggerEnter somewhere after “Lives–;”:

if (Lives == 0) {
    Application.LoadLevel ("Name of GameOver Scene");
}

And before you can load a level you have to add it to the list of levels used in the game, in build settings.