So as you can see by the title I don't know how to explain this, but if I put an if statement like this: if NextFoV == 0 then
this works, but if I have this: if NextFoV >= 0 and NextFoV <= 121 then
, I can enter in any FoV number and the error catching system won't do it's thing. Thanks!
Addendum; Full code is
if tonumber(InputBox.Text) then NextFoV = tonumber(InputBox.Text) -- // Run if ConfirmButton is pressed. \\ -- if NextFoV >= 0 and NextFoV <= 121 then -- // Check if input is fully numerical. \\ -- -- stuff else -- // If input is not fully numerical, run this. \\ -- Err() end else Err() end end)