// Update is called once per frame void Update() { if (Shacker.Stress > 100) { Shacker.Stress = 100; gameManager.SetLoseCondition = true; lose.Play(); Shacker.Death(); } }