Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

math.Random() Seems to Error Occasionally?

Asked by 4 years ago

Code: math.random(10000000,99999999)

On occasion, I would receive this error: bad argument #2 to 'random' (interval is empty)

1 answer

Log in to vote
0
Answered by 4 years ago

You should do

math.random(10000000, math.huge)
Ad

Answer this question