// Update is called once per frame void Update() { if (recieveAttack.DamageRecived == true) { //Start Break Animation/pysics //White a time //Dissolve //Destroy barricade score.AddScoreBarricade(); bounds.SetActive(false); Debug.Log("Barricade destroyed"); PlayBarricadeSound(); enabled = false; } }