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

Why Will this Print Not Work?

Hey, Here is the print script:

RandomNumber = random.math(1, 2)
print(RandomNumber)

Can someone help me in determining why it won't work? Thanks!

2 answers

✓ Accepted answer

It wasn't printing because the script has an error. line 1 should be : math.random(1,2)

Where it says random.math(1, 2) You need to change that to math.random(1, 2)

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