YOU SAID:
why are you here wasting your time instead of doing your work
INTO JAPANESE
仕事をする代わりに、なぜここで時間を無駄にしているのですか
BACK INTO ENGLISH
why are you wasting your time here instead of working
INTO JAPANESE
なぜ働くのではなく、ここで時間を無駄にしているのですか
BACK INTO ENGLISH
why are you wasting your time here instead of working
That didn't even make that much sense in English.