I would wait and hide, allowing the T-Rex to tire itself out. Then one night, when the T-Rex was especially tired and soundly asleep, I would carefully climb into the T-Rex’s cloaca. There I would stay for the rest of the month.
That’s it, you can keep the 500 million. I’ve already won.