The mercury has reached 30C in Prestwick beating previous heatwaves earlier in the year.
The Met Office has issued a yellow warning from 1.30pm on Tuesday until 6am on Wednesday.
The heatwave comes as lockdown restrictions ease allowing people to go outdoors and enjoy the sunshine.
The central belt, Moray coast and the north Highlands will be hit with 25 -27C weather on Friday and Saturday.
Met Office provisional data says country had 204.6 hours of sunshine, beating record set in 1942.
A yellow weather warning has been put in place between 8pm on Tuesday and 10am on Wednesday.
The Met Office has issued a yellow warning for rain for southern areas on Thursday and Friday.
There were 15 flood alerts in place, with much of the country experiencing heavy rain.
Drivers warned of delays on main roads with up to 30cm of snow due over the next few hours.
The climbers were without proper winter equipment and had to be lifted from the mountain.
The crossing connecting Edinburgh and Fife is closed to all traffic until further notice.
STV meteorologist Sean Batty warns of bad weather across most of Scotland on Monday night.
Warning of 'significant disruption' to transport while 'frequent lighting strikes' may interrupt power supplies.
Various yellow weather warnings for wind, rain and snow have been put in place from Saturday until Tuesday.
Here are STV Weather's top ten photos from the weekend.
High winds and sea spray are causing overhead electric wires to trip in North Ayrshire.
A fresh yellow warning of snow and ice is now in place after being issued at 1am.
Parts of Scotland have been warned to expect severe gales as Storm Brendan sweeps across the country.
A stretch of the A1 in East Lothian was closed to all vehicles from 5am on Tuesday.
High temperatures and gale force winds sweep the country.