YOU SAID:
i robbed a bank while riding a goat
INTO JAPANESE
ヤギに乗りながら銀行を奪った
BACK INTO ENGLISH
Robbed a Bank while riding the goat
INTO JAPANESE
ヤギに乗っている間は銀行を強盗
BACK INTO ENGLISH
While riding a goat bank robbery
INTO JAPANESE
ヤギの銀行強盗に乗りながら
BACK INTO ENGLISH
While riding a goat bank robbery
That didn't even make that much sense in English.