Random

Random, introduced in December 2017 and released on January 3, 2018, is an object that generates numbers more random than math.random does. It can be constructed via. Optionally, a seed can be passed to it.

Returns a pseudorandom between min and max.

Returns a pseudorandom between min and max.

Returns a new with the same state as this one.