Click on the green flag to roll the dice to a "Random number". And click it twice when you get "random number" on you're dice.
My school project.