Hi. So i'm trying to make a game where it saves boolvalues for all the things you have collected. The values are stored inside the player in the folder. And i don't know what to do after. Please help.
local DSS = game:GetService("DataStoreService") local BG = DSS:GetDataStore("Bloxies") local player = game.Players.LocalPlayer local key = "id-"..player.UserId script.Parent.MouseButton1Click:Connect(function() local values = player.Values:GetChildren() BG:SetAsync(key,values.Value) end) game.Players.PlayerAdded:Connect(function() local values = player.Values:GetChildren() values.Value = BG:SetAsync(key) end)