The legal age of consent is 16, and there aren't any specific laws concerning the age of somebody paying for sex (unlike the clear laws surrounding someone being paid). As far as I know, Scottish law doesn't differ in this instance but it probably worth looking it up.