I wasn't completely sure how to word this title but pretty much I have a random number generating then I check what it came up as. Pretty much I'm wondering if theres a way to check if it is a number between say 1-5 rather than typing it all out. Hers part of the script to better show what I mean.
local sp = rng:NextNumber(1, 6)
wait(5)
if sp == 1 or 2 or 3 or 4 or 5 then
Is there a way to check that range rather than typing one through five?

2 comments
if num > 0 and num < 6 then:PAs a style aside, I find
1 <= sp and sp <= 5much easier to read