Also, instead of
local positions = {}
positions[1] = Vector( 223.00898742676, 999.78521728516, 41.03125 )
positions[2] = Vector( 311.53573608398, 999.78521728516, 41.03125 )
positions[3] = Vector( 474.81579589844, 999.78521728516, 41.03125 )
Why not just
local positions = {
Vector( 223.00898742676, 999.78521728516, 41.03125 ),
Vector( 311.53573608398, 999.78521728516, 41.03125 ),
Vector( 474.81579589844, 999.78521728516, 41.03125 ),
}
It's the same thing, but makes adding new values much easier since you're not having to manually assign an incremental key for each new entry.