local number = math.random(20,80)
if number == 20 or number == 80 then
print("Scouted stat limit reached")
end
I wonder if there is a more efficient way to find if the number is 20,25, 30, 35, 40, 45, 50, 55, 60, 65 ,70, 75, or 80. Typing a lot of if and or statements would take quite a while.

2 comments
divide the number by 5 and check if there's a decimal
Did you know that you could do a google search and find this out in 10 seconds or less?