Just a basic use of the <random#to#> block. Press the button and press your luck!
I saw the "Gamble with your Friends" game on Steam and was inspired to make a Scratch game (for some reason). So yeah, that's all it is. CobaltCube, out!