(Im in Canada many other countries are the same) When a chance of game becomes electronic probability rules still apply. Those screen based jackpot machines in casinos have to follow actual mechanical jackpot game probability payouts.
So a six sided dice role in a game that involves a monetary system to purchase still has to have a 1:6 payout, or it is illegal because you are fooling the person.
I have played several games where they have say 3 loot boxes and you pay to open one. There is a known prize and generic stuff. The payout odds do not match over a large number of tries, meaning the back end probably has been coded to only payout 1% or something super low, or maybe not at all. In many countries this type of gambling (even for adults ) is illegal because it simulates a chance game but is fundamentally not as presented.
I was responding to the loot boxes and the gambling comment.