Fixing Leakage at top floor
If the leakage is due to water supply line/drain line, than that shall be fixed first. Here the flooring will have to be compulsorily changed. Because the tiles would be affected by the leak which in future may crack/break. But while changing the flooring of the bathroom, water proofing should be done.