So, firstly, the time machine would also have to be able to move in space as well as time. And secondly, you would also have to travel to a time that was actually bad for being in Pompeii - like 79 AD, when Vesuvius erupted.
It's ok, you can hate me now. 😅🙈