First of all, I wouldn't waste 10 million before dieing.
1. Upgrade my pc to the max.
2. Upgrade my gaming room.
3. Buy a car. (not more than 50k)
5. House in the subs. (not more than 1 million)
6. I'd get myself a whore for every day of the week.
7. I would then use the rest of my money to invest in a small business just to keep myself busy.
Oh I would buy zarp with 20k