I can’t find any record of this warning online, and I don’t understand it either, since the code looks to be fine, and nothing really weird is going on, other than that the script is in strict mode for luau…It was my understanding that it’s accepted practice to directly iterate over any table now, and this isn’t an unusual table at all.
This is probably a bug with how Luau interprets empty tables
If ClosePointParts is being populated with values then you can probably ignore this. I wonder if asserting the table’s type as {[number]: any} silences the warning though this seems like a non-type based error
Yep, that silenced it. I guess it was because I was initializing the table as empty, then this part of the function ran, before the table was getting filled with anything. The code was working fine, it was just strange it was warning me over it… Roblox should fix this warning, haha.