Hi Myukas,
Below is another way to export schema only of your objects via MSSQL
1. Right click on the database > Tasks > Generate Scripts... > Next

2. Choose objects that you want to script out. Click Next.

3. Click Advanced.

4. Under "Types of data to script", choose Schema Only (default option).

5. Click OK > Next > Next > Finish
There you go. I hope this helps.
Best Regards,