Here is a goal: to prevent water from leaking onto the floor from a leaky roof

How would you accomplish this goal?
determine where the leak is coming from, place a large empty bucket under the leak