Random number from seed generation

I’m writing a script that deals with random generation using math.random() and i’m wondering how or if its even possible to implement a way of using a seed to save and replicate random data.

For better understanding think world seeds in Minecraft

1 Like

Yes. It’s made even easier using the Random object. You can use Random.new(seed) to create a Random object with an always-same deterministic seed.

1 Like