Go to GAMEOVER scene when player health bar reaches 0

I watched this tutorial, but cannot figure out how to destroy my gameobject when the health bar reaches 0.

I tried this in my code (this is attached to the player) and had no luck:

void Die(){
		if (ScoreManager2 .TKOCount  > 2) {

			Destroy (GameObject .FindGameObjectWithTag ("Player"));

			SceneManager.LoadScene ("GameOver Scene");
		}
		if (health.CurrentValue  <=0) {

			Destroy (GameObject .FindGameObjectWithTag ("Player"));

			SceneManager.LoadScene ("GameOver Scene");
		}
	}

Any help would be appreciated!

you could do it simply by calling die when health = 0 and have die go to the gameover sceneā€¦

void Update ()
{
if (health <= 0){
void Die();
}
}

void Die(){
// whatever you want here such as...
Destroy (GameObject);
//or SceneManager.LoadScene...
//  hope this helps...

}