I have my code working pretty good the only line of code I can't find or figure out is how to get a random number to pop in.
I'm creating just a simple dice roller for my first addon. The math.random() doesn't seem to work so I even messed around with another random code but couldn't seem to plug it in either.
Lua Code:
local Roll = 0
function LootDiceRoll()
math.random(100)
end