#Any ideas on how to update metatables to a newer version?
1 messages · Page 1 of 1 (latest)
loop trough your original data, then check if each of those values are in the datastore, if that index does not exsist, add it with the value you want, and if it already exsist then continue.
Also please change your indexes in your post in the tables
yeah but thats what i wanna figure out
im not too familiar with that
do you mean you want the code? because i explained it correctly I think. If you don't know where to start, star by searching up for loops.
for _,v in pairs(GlobalData) do
if PlayerData[v] == nil or not PlayerData[v] then
PlayerData[v] == v
end
end
it still wont work right
since its grabbing
true false etc etc
instead of ["small"]
for index, v in pairs(GlobalData) do
if PlayerData[index] == nil or not PlayerData[index] then
PlayerData[index] == v
end
end
i see
ahhhh