Your rights will depend on the contract and the right you agreed to in the contract. If there was a form 17 and proper disclosures, you may have more rights. If the seller made promises about the conditions of the house in writing, you may have some claims. You will need to have an attorney review the documents. Meanwhile stop the leak, get bids on the repairs, and make a claim with your insurance.
Only If and until you and I sign an Agreement for Legal Services, I am not your attorney. These answers are provided for informational and/or novelty purposes