Either ivermectin: a few drops on the back of the neck, which'll clear up all external and internal parasites, or suffocate the blighters by coating the legs in a thick oil, repeating about once a week until the legs look better. I've ever seen scales fall off, but maybe they do and I've just never noticed. I thought they just flattened out again!