NextNumber does practically the same thing. I did a test with both, both work the same way
Not quite. math.floor(random:NextNumber(1,4)) should give almost equal chances for 1 through 3, and effectively no chance of 4. That’s because of the limitations of nextNumber:
number Random:NextNumber (min, max)
Returns a pseudorandom number uniformly distributed over [min, max).
It should never generate 4.00000.
NextInteger will include equal chances of 1 through 4.
1 Like
Oh. So maybe I will be switching over to NextInteger. Thanks for enlightening me
1 Like