YOU SAID:
im going the going the to the friend
INTO JAPANESE
私は友達に行くつもりです
BACK INTO ENGLISH
I'm going to a friend
INTO JAPANESE
友達に行きます
BACK INTO ENGLISH
Go to friends
INTO JAPANESE
友達へ
BACK INTO ENGLISH
to friends
INTO JAPANESE
友達へ
BACK INTO ENGLISH
to friends
That didn't even make that much sense in English.