Level Restarting

I'm a student at Harllee Middle school I'm also in a program called TSA (Technology Student Association, if you don't know what that is then search google). I need to figure out how to make it so that when I hit a block the level will restart. I ask it here because most websites are blocked by my organization please help!

something like this:

function OnTriggerEnter()
{
    Application.LoadLevel(Application.loadedLevel);
}

I did that once, but unfortunately it did nothing. I finished making my little diffusion simulation game and just didn’t mind the th piece of script that I wrote in order to restart the level.

function Start(){

if(Input.GetKeyDown("home")){
Application.LoadLevel(Application.loadedLevel);
}

}