Pick the maximum number you want to be rolled up to 12. For example, you may only want the dice to roll up to a maximum of 10. Click Roll the Dice and you're done!
Not a lot to this project - create 3 variables - n1, n2 and max. max is the largest number that can be reached and the dice roll while n1 + n2 <= max. Each number is linked to a costume to make the code shorter. For a bit of colour, each roll changes the colour of the dice.