void Start() { navMesh = GetComponent <NavMeshAgent>(); player = GameObject.FindWithTag("Player"); anim = GetComponent <Animator>(); ragScript = GetComponent <Ragdoll>(); render = GetComponentInChildren <Renderer>(); audioMonstro = GetComponent <AudioSource>(); estaMorto = false; invencivel = false; ragScript.DesativaRagdoll(); capsule = GetComponent <CapsuleCollider>(); }