How I could make a item spawner without setting the positions?

Not doing defined positions, like I dont have a certain position for items.