You can write your topic however you want, but you need to answer these questions:
- What do you want to achieve? Keep it simple and clear!
im attempting to make saving settings, a few of witch are bool values.
-
What is the issue? Include screenshots / videos if possible!
for some reason, the value saves into the datastore properly, and you can even print it.
but attempting to load it into said value, doesnt work, and prints 0 errors.

-
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
ive tried doing the or method, no results
ive tried directly loading the value with GetAsync instead of using a variable
no results
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
local Settings = script.Settings:Clone()
Settings.Parent = player
for i,v in pairs(Settings:GetChildren()) do
local e = ds:GetAsync(player.UserId.."-"..v.Name)
print(e)
if e then
v.Value = e
end
print(v.Name.." ".. tostring(v.Value))
end
whats going on here?