YOU SAID:
kimi wa nan desu ka tomodachi to gakko ni ikimasu?
INTO JAPANESE
君はなんですかともだちとがっこにいきます?
BACK INTO ENGLISH
What are you going to do with your friends?
INTO JAPANESE
あなたは友達と何をするつもりですか?
BACK INTO ENGLISH
What are you going to do with your friends?
That didn't even make that much sense in English.