Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ChosenNum
- for i = 1,100 do
- local Num = Random.new():NextInteger(1,15)
- if Num > 5 and Num < 10 then
- ChosenNum = math.floor(Num/2) -- some number rounding function
- elseif Num > 0 and Num <= 5 then
- ChosenNum = Num
- else
- ChosenNum = Num - 5
- end
- print(ChosenNum)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement