bad argument #1 to 'concat' (table expected, got string)?
Asked by
pwx 1581
6 years ago
Hello. I've recently run into this error whilst scripting? Can someone tell me why?
It works all the way up to the point of the print(table.concat) part.
Getting this error: bad argument #1 to 'concat' (table expected, got string)
06 | local function getValues(tableName) |
08 | print (table.concat(tableName, ", " )) |
14 | Player.Chatted:Connect( function (Message) |
15 | Message = Message:lower() |
16 | if string.sub(Message, 1 , 10 ) = = '.getvalues' and isReady = = true and isIntro = = false and isManager() then |
17 | local tableName = string.sub(Message, 11 ) |