You are wrong!
You must be thinking of the Union of the Crowns in 1603 when James VI of Scotland inherited the Crown of England and became James 1st. But Scotland still retained its own separate parliament until...
...in 1707 the Scots Parliament voted itself out of existence, and Members headed off south to Westminster in London.
However the independence of the Scottish Church and judiciary, and educational systems were preserved, and remain independent to this day.
On September 11th 1998 Scots voted for their own parliament again... It's now built, situated almost opposite the Palace of Holyrood House in the Royal Mile on the site of a brewery.