I’m making a tic tac toe game and I’m currently trying to insert the players moves into a table so the server can detect if the player won or not, I’ve worked with tables before but I’m confused on why it’s showing a syntax error
Code:

I’m making a tic tac toe game and I’m currently trying to insert the players moves into a table so the server can detect if the player won or not, I’ve worked with tables before but I’m confused on why it’s showing a syntax error
Code:

If you look at the message provided by Studio, you’ll see that it’s not actually a syntax error, rather a warning:
W023: (3,17) table.insert will append the value to the table; consider removing the second argument for efficiency
This means that Studio has realised that you’re trying to append an object to a table, and is giving you a hint that removing the second argument would result in more efficient code. Try the following:
table.insert(TableRow, Row)