I don't think people honestly believe that. I accept that Scotland, and in particular Glasgow, has benefitted greatly from the empire but the difference is that I think Scotland as a political entity would attempt to enter the modern world and leave that vile legacy behind. The British state does not hence its ongoing attempt at maintaining its presence as a "Great Power'.
And the difference between Scotland and the UK at large is that the racist morons up here don't have the major parties either fuelling their bigotry or agonising over how much they should fuel their bigotry. And I'm proud of that.