Make math.random does not count some numbers

Hello, i want to make math.random doesn’t count some spesific numbers.
I have 15 different math.random in a row. Any math.random shouldn’t count the ones before it

It might not be clear enough so i’ll show you in script



local stage1 = math.random(0, 41) 
local stage2 = math.random(0, 41) -- stage2 shouldn't pick stage1
local stage3 = math.random(0, 41) -- stage3 shouldn't pick stage1 and stage2
local stage4 = math.random(0, 41) -- stage4 shouldn't pick stage1 and stage2 and stage3
local stage5 = math.random(0, 41) --etc
local stage6 = math.random(0, 41)
local stage7 = math.random(0, 41)
local stage8 = math.random(0, 41)
local stage9 = math.random(0, 41)
local stage10 = math.random(0, 41)
local stage11 = math.random(0, 41)
local stage12 = math.random(0, 41)
local stage13 = math.random(0, 41)
local stage14 = math.random(0, 41)
local stage15 = math.random(0, 41)


Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.

Always search on a browser or the Forum before making topics. Here’s a Tutorial which helps with what you need, and I recommend using the replies to find a more efficient solution: