I think this could work out, if it does, you add or remove as many items as you want in itemIds variable.
local area = {
fromPos = {x = , y = , z = },
toPos = {x = , y = , z = }
}
local itemIds = {1987, 18390, 2420, 2253, 3058, 3059, 3060, 1988, 2269, 2308, 2273, 2262, 7620, 2293...