I need this table to change each position.Y value in a table by 0.5 each time. Such as doing 5, 5.5, 6, 6.5 etc. The problem I'm facing is that the table can't run a 0.5 value, and if I do a for loop inside of a for loop (one editing the table, the other editing the position) it will loop the position changing 13 times.
PathLine1Table =
{Path.Pathkey5,
Path.Pathkey6,
Path.Pathkey7,
Path.Pathkey8,
Path.Pathkey9,
Path.Pathkey10,
Path.Pathkey11,
Path.Pathkey12,
Path.Pathkey13}
for i = 5, #PathLine1Table, 0.5 do
PathLine1Table[i].Position = Vector3.new(-2.5, i, 0)```
end

3 comments
I'm confused as to what you're doing. If you increment by .5 then
PathLine1Table[i]could potentially be nil.. Are you just trying to move them all at once in increments of .5?You could determine whether or not PathLine1Table[i] is nil prior to attempting to manipilate it's Position. That will make it so the code doesn't error.
How would I determine if it is nil or not? Also, I'm trying to move them in increments of 0.5.