Talk:Random numbers: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Mr Doom Bringer
mNo edit summary
>Mr Doom Bringer
mNo edit summary
(No difference)

Revision as of 21:39, 24 March 2008

I haven't tried this, but what about:

x = math.random(1, 100)
y = math.random(1, 100)
rand = math.random(x, y)

--N2KC 21:40, 14 March 2008 (CDT)

You want to use math.randomseed(game:GetService("RunService").Stepped:wait()) --Telamon 12:58, 24 March 2008 (CDT)

If we had the OS.Time function we could generate random numbers based on the current time/date as a seed. ---Mr Doom Bringer 16:39, 24 March 2008 (CDT)