YOU SAID:
I pooped my pants in the bathroom while I was pooping on the toilet
INTO JAPANESE
トイレでうんちをしている間、私はトイレでズボンをうんちした
BACK INTO ENGLISH
I pooed my pants in the bathroom while pooing in the bathroom.
INTO JAPANESE
私はトイレでうんちをしながら、私のズボンをトイレでうんちしました。
BACK INTO ENGLISH
I pooed my pants in the bathroom while pooing in the toilet.
INTO JAPANESE
トイレでうんちをしながら、私はトイレでズボンをうんちしました。
BACK INTO ENGLISH
I pooed my pants in the bathroom while pooing in the toilet.
Okay, I get it, you like Translation Party.