It works very well and do you know how to make it create items at the top?
Im add to the script:
stackpos
poss = {x = math.random(leftTopCorner.x, rightBottomCorner.x), y = math.random(leftTopCorner.y, rightBottomCorner.y), z = leftTopCorner.z, stackpos = 1}
I tried stackpos 1, 2, 0, 255 and on...