When we click on the Dice the dice rotates and add the number as score
View this project in Scratch
Scratch