Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Why is there always a certain order to randomization scripts in-game?

I have a script that chooses a random number from 1 to 12,000, and every time in-game it picks the same number. Why is this?

1 answer

✓ Accepted answer

Built-in RNG is pseudo-random, and works off a preset seed. Random numbers generated using the same seed will be the same. To get new random numbers, change the seed using math.randomseed

See this wiki article for more info

2 comments

0

Sadly your link doesnt work :/

0

My bad, fixed.

This discussion is preserved as it was. New answers, comments, and votes are closed.