Everything's so absurd it's hilarious.
Now make a sequel where they just got the money and then set out to find the guy who they gave the time machine to so they can take their money, go back in time and prevent the world from flooding by buying more candy.