Hello, I was making a script to get a number within a certain range, but it returns nil

## the code

```
local function GetNumberInRange(Min, Max, ValueMin, ValueMax)
local function Get(Min, Max)
local Number = math.random(Min, Max)
return Number
end
local function Test()
local Numbers = Get(Min, Max)
if Numbers >= ValueMin and Numbers <= ValueMax then
return Numbers
elseif Numbers <= ValueMin and Numbers >= ValueMax then
Numbers = Get(Min, Max)
Test()
else
Numbers = Get(Min, Max)
Test()
end
end
Test()
end
local NewNumber = GetNumberInRange(1, 10, 2, 5)
print(NewNumber)
```