I'm trying to create a dice roller. I've done something basic but sometimes it won't show any image just the buttons. idk what is wrong with me code, I've tryed switching things a bit but this problem presists
Welcome.
Some of the ideas in this dice tutorial might be helpful to get your dice roller working. You use an extension; that might be part of your issue. You do not need an extension.
Look at the code for ideas; you do not need the CloudDB stuff.
Your problem is to compare a number with a random number, the random number changes everything you call it.
You can save the random number to a variable, then compare this variable with number.