Complex sentence: When the barn explodes the gold is still inside, and the explosion causes a rain of gold.
Split into simpler sentences: When the barn explodes, the gold is still inside. The explosion causes a rain of gold.