void FixedUpdate() { hintText.text = hintMessage; if (PleaseGodKillme) { //Destroy(patron.GameObject); } //Patron is Satisfied and moving back to endpoint if (patron.isSatisfied && !PleaseGodKillme) { hintMessage = "Thanks bruh you're like totally epic"; hintFlag = true; StopCoroutine(GiveHints()); patronAgent.isStopped = false; FindEndPoint(); } //Patron has reached their point if (!patronAgent.pathPending && patronAgent.remainingDistance < .05f) { patronAgent.isStopped = true; //Give needs to patron once the reach the counter if (patron.Needs == null) { patron.AssignRandomNeeds(); } if (hintFlag == true) { hintFlag = false; StartCoroutine(GiveHints()); } } //Patron reached endpoint if (patron.isSatisfied && (Vector3.Distance(patronAgent.transform.position, endPoint.transform.position)) <= .05f) { PleaseGodKillme = false; patron.isSatisfied = false; patron.Needs = null; hintMessage = defaultHintMessage; hintFlag = true; MoveToPoint(); } }