So I am trying to use a numberrange in a if statement, this is what I'm doing:
if player.leaderstats.Stage.Value == NumberRange.new(10,21) then
print("yes")
end
When I test it there are no errors, but yes does not get printed? I can't find anything on the wiki about it? Any help would be much appreciated.

1 comment
What you're actually doing is checking if the value is equal to many numbers. A "range" of numbers is practically a list of numbers from the minimum to the maximum.