Hey Everyone! I was working on a game, and I wanted to store a table like this in a value:
{true,false,false,false,false,false}
I tried storing it in a String Value but it said it was not a string. What is the best way to store this so I can get the data inside by just doing:
data.Value[1]
I also need to be able to edit this value from the script, and to check if it is changed.
It would be amazing if you could help with this!
Thanks, Armacom03
Use a ModuleScript:
local module = {true,false,false,false,false,false} return module
Now another script can use the info with the require
function:
local data = require(game.ReplicatedStorage.ModuleScript) print(data[1])