Remember in Scotland, the language is English! So you could say thank you or thanks.
If you want more of a "dialect", you can say ta or cheers.
If you meant Scottish Gaelic, which is nothing like English and spoken by a minority of Scots (though they also all speak English) - then the answer would be Tapadh leat (informal) or Tapadh leibh (formal), I believe.
Chat with our AI personalities