If your regions are consistent sizes then do a random number multiplied by the texture size. Another way would be to use an array of names and coordinates for each die and randomly choose the index. There’s a sample of the code I use for randomising textures at the end of this thread.
The last function in my code randomises the atlas texture.