I've updated the wiki with some more notes about random numbers:&nbsp; <a href="https://wiki.roll20.net/API:Utility_Functions#Random_Numbers" rel="nofollow">https://wiki.roll20.net/API:Utility_Functions#Random_Numbers</a> In short, if you want to roll dice you really should use randomInteger(max). Both functions use the same RNG and provide very good randomness. randomInteger has the added advantage of providing you evenly distributed randomness between 1 and MAX. Trying to do that yourself with just the output of Math.random is very hard without introducing bias toward one end of the range.