**How to Make this script to save 2 bool values and create? **
local DataStore = game:GetService("DataStoreService")
local ds = DataStore:GetDataStore("BoolSave")
game.Players.PlayerAdded:connect(function(player)
local folder = Instance.new("Folder",player)
folder.Name = "stats"
local bool = Instance.new("BoolValue",folder)
bool.Name = "BoolValue"
bool.Value = ds:GetAsync(player.UserId) or false
ds:SetAsync(player.UserId, bool.Value)
end)
game.Players.PlayerRemoving:connect(function(player)
ds:SetAsync(player.UserId, player.stats.BoolValue.Value)
end)

2 comments
use tables, instead of for example bool.Value make it {bool.Value, bool2.Value}, to access, it simply do Bool1 = Saved[1] Bool2 = Saved[2] (or something like that)
i tried its dont works