local model={
{1.5,11},
{1.2,10},
{1.5,5},
{1.2,12}
}
local one = {}
local two = {}
for i,v in pairs(model) do
if v[1] == 1.5 then
table.insert(one,v);
else
table.insert(two,v);
end
end
model ={one,two}
local model={
{1.5,11},
{1.2,10},
{1.5,5},
{1.2,12}
}
local one = {}
local two = {}
for i,v in pairs(model) do
if v[1] == 1.5 then
table.insert(one,v);
else
table.insert(two,v);
end
end
model ={one,two}