Answer yes, no, y, or n to all questions but the one about what sided die you want to roll. Press space to roll the die. Report any glitches in the comments, I'll try to fix them.
All the code in this project is by me (I'm not saying that this is the only die roller on Scratch though, there are probably other ones).