Parse a string as Lua code and return it as a reference to a function. func, errorMessage = loadstring("luaCodeBlock"[, "chunkName"]);