public void Death() { canMove = false; cameraFreeze = true; cameraMove = 0; this.gameObject.transform.SetParent(null); this.gameObject.GetComponent <CapsuleCollider>().enabled = false; score.CheckHighScore(); Invoke("StopFalling", 1f); }