void Awake() { Stats = GetComponent <EnemyStat>(); anim = gameObject.GetComponent <Animator>(); EnMov = GetComponent <EnhancerMovement> (); tempattspeed = Stats.AttackSpeed; Stats.AttackSpeed = 0; }