Hello, I have a script, but I’m not sure if this is the correct way to write a table.insert. How can I fix this? Thank you.
This is the table:
for i, v in pairs(touchingRightSensor) do
print(v)
table.insert(rightSensorTable, v) -- This line is the part that I'm not sure if this is the correct writing.
end
That way works as if you put the 2nd arg that it shows there roblox would just give it an orange underline and say you can remove it to be more efficient