how to get the lowest number in a table roblox
function GetLowest(table)
local low = math.huge
local index
for i,v in pairs(table) do
if v < low then
low = v
index = i
end
return index
end
end