Hello , i am making a plugin i click the button but it is supposed to get all values in a table thats in the database and it makes buttons
local data = game:GetService("DataStoreService"):GetDataStore("nojustno")
local a = {}
a = data:GetAsync("notthat")
local b = {}
b = data:GetAsync("neitherthis")
function more(ob,ii)
for i,v in pairs(b) do
if i == ii then
ob.Text = v
end
end
end
for i,v in pairs(a) do
local clo = script.Parent.wat:Clone()
clo.Parent = script.Parent.ScrollingFrame
clo.Visible = true
clo.wat.Text = v
more(clo,i)
end
it leaves no errors it just dont works, and the table has two values also api access is enabled
