Whenever I do y = math.random(5,15) and then for _ = 5,y do it chooses a number that I am not allowing it too.
COMMUNITY QUESTION
How do I make math.random choose a number that is between what I am allowing it?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

6 comments
What number would that be?
math.random() never returns anything outside the given range, so I have no idea what you're talking about.
For some reason it is for me
Print to debug. It is giving you a number between 5 and 15, both inclusive. Your issue is caused by something else.
o m g u s e c o d e b l o c k s
The issue is probably you are starting your numeric for at 5, and the number generated was also 5. It looks like, if your start is the same number as your goal, the codes are not executing.