It's an empty gesture. The UK won't be back. Nor will an independent Scotland.
For a nation with a tradition of education (out of date: its schools are now worse than England's) it's surprising how many Scots haven't thought this one through. An independent Scotland means breaking away from its largest export market - England- and joining the EU would mean having to fulfil the requirements of joining the EU, which would take years for Scotland to satisfy.
If Brexit is silly, Scottish independence would be lunacy.