It looks like your image files are named “dice 1.png”, “dice 2.png”, etc.
So when you get letter #2 from “dice 6.png” (for example), it’s going to get “i”
And when you get letter #1 from “dice 6.png”, it’s going to get “d”
If you are trying to get the number, that would be letter #6.
I would do this a different way. Get a random number from 1 to 6. Assign it to a variable called randomRoll. Set the image’s picture to [join] [“dice “] [app variable randomRoll] [”.png”]. And speak text [join] ["You rolled a "] [app variable randomRoll].
By the way, what is Rolling 2021? Is that a game? Can you provide a link that helps explain?