If you're in Edinburgh, you can visit the Scotland's People Centre at Register House in person, and it costs £15 for the day. This gives you unlimited access to the stuff you buy credits for online plus records up to the present day, which you can't search online. Definitely worth it if you can get here, and you've worked out what it is you need to look up. My experience was that, without much of a plan, I got completely overwhelmed and lost the first time I went - fine if you don't have specific goals, though. It's worth booking in advance.
https://www.nrscotland.gov.uk/resear...speople-centre