Hey, check if it works
local weapSpawn = {
{3334.8000488281, -7807.5, 673.79998779297, 2, 9, 1, 200},
{3332.8000488281, -7805.5, 673.79998779297, 2, 24, 1, 200},
{3330.8000488281, -7803.5, 673.79998779297, 2, 27, 1, 200},
{3328.8000488281, -7801.5, 673.79998779297, 2, 29, 1, 200},
{3326.8000488281, -7799.5, 673.79998779297, 2, 31, 1, 200},
{3324.8000488281, -7797.5, 673.79998779297, 2, 34, 1, 200},
{3322.8000488281, -7895.5, 673.79998779297, 2, 16, 1, 200},
}
local data = false
for i = 1, #weapSpawn do
data = weapSpawn[i]
createPickup(data[1], data[2], data[3], data[4], data[5], data[6], data[7])
end