function Begin()
local num = random.math(2)
print(num)
end
✓ ANSWER ACCEPTED
How do I make this work?
1 answer
✓ Accepted answer
First, it's math.random(2). Second, you need to call the function Begin().
Code:
function Begin()
local num = math.random(2)
print(num)
end
Begin()
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
OK thanks.
He also forgot to tab his code. :)