It should be:
mata ato de ne
o-yasumi-nasai
o-tsukare-sama deshita
It means
See you later
Good night
You must be tired
---
Notes;
Unfortunately, the last sentence is one of those "untranslatable expressions" from Japanese...
Although the literal meaning is:
"You are tired (from having worked so hard)"
this expression is used all the time to mean:
Thank you / See you later / Have a good night / I respect you for all your hard work / etc., etc.
It's just a very common social phrase, used to show your respect for the other person...