If Y is -200 restart level

I need a script for my character. I want if he goes under Y -200 the the level restart.Thanks For reeding this.

Answers are very apreceting

If it wasn’t for the words ‘I need a script’ I probably would’ve written it since it really is just a few lines. Though, if it wasn’t for the politeness, I wouldn’t have answered at all!

I’ll point you in the right direction. You’ll probably want to look for a condition in the Update() method of a script… then take a look at these:

transform.position

Application.LoadLevel()

Application.loadedLevel

void Update()
{
if(transform.position.y < -200)
{
Application.LoadLevel(Application.loadedLevel);
}
}
This can be used. Let me know working or not.