2 reasons.
1. I voted to LEAVE so even though more people vote REMAIN in Scotland, I got what I wanted. This is a personal level thing but it will also be shared by every LEAVE voter in Scotland.
2. We knew before a vote was cast that it was going to a majority UK wide decision as to what's happening. If individual areas didn't get what they voted for.... Then it's tough. ( e.g. You can't keep Wales in EU and England out.. Or England stay while Wales and Scotland leave)