I'm making a table and I would like to make a variable from a string...
local STRING_NAME = "Test1"
local MyTable = {
STRING_NAME = "Hello World"
}
Well I know that I can write Test1 = "Hello World", but the problem is that I need to make the variable name from the string itself because I need to insert a table inside a table like that:
local FirstTable = {MyTable = {STRING_NAME = "Hello World"}, game.Workspace.Part}
Well, if anyone know how I can do this, thanks.
