Use NextTarget function instead the deprecated AttackNextTarget one