I have been trying to make an Ai bot that learns.
So when the player chats it would pick a word and put it onto a table
but I get this error — invalid argument #1 to ‘insert’ (table expected, got string)
Here is an example -
local str = script.Parent.Frame.type.Text
local strSplitted = str:split(" ")