You're making an assumption that Scotland would be applying to join the EU as a new country. There's every likelihood that an independent Scotland would now be able to inherit some part of the UK's existing (and otherwise soon to be abandoned) membership. Don't forget, Scot's are EU citizens right up until the UK concludes Section 50 of the treaty of Lisbon - meaning there is now time for serious negotiation in the clear knowledge that England/Wales (with a few regional exceptions) have decided they want to leave - though not as strongly (per head of capita) as Scots said they wanted to stay. I can imagine the EU being quite keen to cut such a deal in order to retain strong links with the part of the UK with all the valuable natural resources. The 2014 Independence referendum was lost in large part by the threat of that Scotland would have an uncertain future in Europe in the event of independence. At this stage, and with no lack of irony, the exact opposite is the case - it is now 100% CERTAIN that Scotland's future lies separate from Europe unless they actively pursue a deal with the EU to take effect following a 2nd, this time successful vote for independence.