Well it's not a scam. It works exactly as advertised. But, just like in casinos, the house is always the winner.
I made a multi-threaded UK lottery simulator that draws 68 million lotteries per second on my machine. It shows the ROI on average is around 30% meaning the "house" (lottery company/government/charities) gets 70%. Here's the last line after 5.1billion draws:
Draws: 5,130,046,351. 3: 56,022,165, 4: 2,521,545, 5: 38,525 5+b 5,918 Jackpots: 113. Losses: 2,491,081,393. Cost £10,260,092,702, Winnings £3,058,100,000 ROI: 29.810%. 68,548,225.400 draws/s
Yes that means you will wait on average 45.4 million draws before you hit the jackpot.
In any case. You could implement the meme like the lottery and make money and I assure you, if you made the full info public people WOULD send you money and you'd keep the 70%..