Law of Attraction and Karma

If you can please answer this for me ….how does the law of karma square up with law of attraction, because law of attraction says anything can be achieved, which would mean even evil doers do not have to pay for their deeds ?