you can either use strict alternate picking , or use economy picking (begin with a downstroke each string if you're going up the scale, upstroke on each string uf you're going down the scale)..
However, alternate picking is my favourite, practice very slow and you'll gain speed by time.