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

how to generate a random number?

3 answers

✓ Accepted answer
local s = math.random()

random number from (i think) 100

1 comment

0

random number from range: [0,1)

This isn't a request site, please write something then ask for some help, chances are someone will rewrite it 10x better and working for you but for future reference, have some code ready.

1 comment

0

i said i dont have a code cause i jusst want to know what it is like jesus

If you want to get a number between x and y, use the following code;

local number = math.random(1,100)
print(number)

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