Hello, guys! I’m doing a gang system and to save the gangs I’m using a table. But in my gang system have gang name and gang password so how to I (in a table) insert two informations? Like the gang name and the gang password. Furthermore, I need to save the table in a GlobalDataStore or just in a DataStore?
local GangHandler = {}
local GangTable = {
DevGang = "123"
}
function AddGang(Name, Password)
if Name ~= nil and not Name:match("%s") then
table.insert(GangTable, Name)
end
end
return GangHandler