What kind of pipe is it. You said it only leaks when tub shower are used, is it bad , is it steady, its probly comming from leak in tile wall are pipe to tub and shower might be leaking, you could test pipe by putting test ball in test tee and filling with water and see if pipe is broke are where leak is comming from. Do you have seoerate Shower and tub, if so take 5 Gal. bucket of water and dump in each one at a time and see if it leaks, if it doesnt then it is something with wall. Do one and let it drain and check then do other one.
Art retired plbg