private void GameOver() { //Bars PulseBar.ResetValues(); SlowBar.ResetValues(); //Score PlayerScore = 0; ScoreController.ResetValues(); PlayerIncreaseSpeedTimer = 0f; transform.position = PlayerDeadPosition; //STOP CUBE ANIMATION FloorController.StopAnim(); GameController.cameraPivot = transform.position; GameController.SetCameraParent("Menu"); GameController.ActiveDeadMenu(); ExplotionSound.Play(); }