Use this free die for whatever you need, whenever you need (as long as you have Scratch). It's really simple. 1) Find a reason to use a die. -- Optional 2) Pull up this project in scratch. 3) Press any key and the die will do it's thing. Warning: The score does not add up all of your rolls.
@NymphsandElfs helped me to understand some of this code. Enjoy