Remove random seed

If I want to add back randomness to math.random after using math.randomseed(), how would I do that? Doing math.randomseed(nil) doesn’t work. Basically, I want to remove the set seed.

The random seed by default is set to tick I’m pretty sure. You can’t generate numbers without a seed. The trick is setting a unique seed which is why you would use tick.

You should consider using the random object though Random

1 Like

math.randomseed() requires a single number type value as an argument, if you want a default value which represents nothing use 0, i.e; math.randomseed(0).