// Use this for initialization void Start() { money = 10; heath = heath.GetComponent <health>(); }
// Use this for initialization void Start() { agent = GetComponent <NavMeshAgent>(); heath = 5; hea1th = hea1th.GetComponent <health>(); }