I expect Scotland to be down in the 6-7th place by the end of the tournament if they get nothing against Brazil, but it will potentially be squeaky depending on how many Brazil score if they win.
Of everyone below them, Senegal are the lowest points but they play Iraq and are only -2 minimum GD behind if Brazil win. Then you have Ecuador and the Czech's playing against already group winners probably resting their top players, Congo playing Uzbekistan and Cabo Verde playing the Saudi's. I suspect there might be a combination which means if the team below them does enough, then a current 2nd place team drops below Scotland but I suspect a point pretty much gurantees it, or a Qatari goal tonight.