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

Why do my random number generators always give the same numbers first?

I created a generator that creates eight sets of random numbers and then uses variables to turn them into words. When I set the entire script to repeat every two seconds (or any other time period), the first set of words is always the same. The ones that come after are not.

Does anyone know why this happens?

3 comments

0

Can we see some code?

0

Are you talking about in Studio test mode? If so, it's because the test mode keeps providing the same randomseed to the scripts while in the online mode, the seed is automatically changed server to server.

0

@above I tried putting it into a game server, and now only one different word shows up. Tried three times now...?

1 answer

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