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

Roblox random number best method??

To generate random numbers in a loop what would be the best option so not to get similar numbers?

Would I use

math.randomseed(os.time())
math.randomseed(tick()*100)
math.random()
Random.new()

which one of these (or combinations of them) would be best for generating random numbers that will be generated in an iteration of a for loop?

1 answer

They’re all random generators but I prefer to use math.random

1 comment

0

Bro, This is the 2nd time I post this comment. It literally says when you write an answer "If you are not posting an explanation, please use comments instead!"

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