How to put 1-500 or 501-750 in script?

  1. What is the issue?

I don’t know how to make it so that numbers from 1 to 500 does this function.

1 Like

You can do this by simply checking if a number is greater than a number and less than another number.

if Number >= 1 and Number <= 500 then
   -- Do stuff
elseif Number >= 501 and Number <= 750 then
   -- Do other stuff
end
1 Like

Ohhh… That makes so much sense. I don’t know why I forgot about them Lol

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.