public void Ondeath()
 {
     isdead = true;
     PlayerPrefs.SetFloat("Highscore", score);
     deathmenu.TogleEndMenu(score);
 }