Scotland's succession rights

It is unlikely that other countries would recognise Scotland as an independent country unless a referendum or some other legally agreed method were approved by the UK government.  Succession without agreement would cause a very difficult period for Scotland.