I did that once.
I a Mustang that I bought for 750. The hood was tied down with a string. I bought a hood, had it in the grage. The hood flew up and smashed the sun roof, dented the roof between the windshield and sunroof. also smashed the cowl, the area between the hood and windshield. they totaled the car out.
they give me a check for 2800 and sold me the car back for 50 bucks. I had to go and get a salvage title before the would give me the check. then i put a sun roof back in and put the hood that I already had on. After that you have to take it to the Highway Patrol inspection station in order to get plates for it. Keep all reciepts for any parts or labor you have done to fix the car. They just want to make sure you are not stealing cars and building new ones.
JJ