Replacing a damaged water supply line is a straightforward task ... to the connection at the underside of the toilet. You'll have to tighten the metal nut at the valve and the plastic nut beneath ...
Fix a plumbing leak and get your toilet back into service ASAP by DIY-ing a toilet shut-off valve replacement.