Because the most common language in Scotland is English, most people say variations of 'hello', 'hi', 'hiya' etc, just the same as in any other English-speaking country. Even if you were trying to converse in Scottish Gaelic, the phrase will sound the same, as the translation for 'hello' is 'halò'.