|
| 18 Apr 2017 12:10 PM |
one = game.Workspace.one two = game.Workspace.two three = game.Workspace.three
mytable = {one, two, three}
print(table.concat(mytable," "))
Workspace.Script:7: invalid value (userdata) at index 1 in table for 'concat' <-- error |
|
|
| Report Abuse |
|
|
| 18 Apr 2017 12:40 PM |
table.concat only works when the table contains only strings or numbers. Your table, 'mytable', contains user data.
If you wanted to change it to display the names, then you could do...
one = game.Workspace.one.Name two = game.Workspace.two.Name three = game.Workspace.three.Name
Instead. |
|
|
| Report Abuse |
|