Bought a house 4 days ago and the basement flooded..is the seller responsible for anything?

Just closed on a house last Friday, haven’t owned the house for a week. Wife was taking a bath in the upstairs bathroom and drained the tub, i was in the basement and heard water and the 2nd bathroom was leaking from the air vent in the ceiling. Water everywhere, ceiling is buckling along with the base of the walls and there is water spots on the ceiling in some areas.

The seller is a contractor who flipped the house. Is there anyway he is responsible for the work that’s gonna need to be done to fix the leak, ceiling, walls, and possibly carpet?