How would i make this datastore script save another BoolValue?
local DataStore = game:GetService("DataStoreService") local ds = DataStore:GetDataStore("BoolValueSaves") game.Players.PlayerAdded:Connect(function(player) local leader = Instance.new("Folder",player) leader.Name = "BoolValues" local bs = Instance.new("BoolValue",leader) bs.Name = "Gift" bs.Value = ds:GetAsync(player.UserId) or false ds:SetAsync(player.UserId, bs.Value) bs.Changed:Connect(function() ds:SetAsync(player.UserId, bs.Value) end) game.Players.PlayerRemoving:Connect(function(player) ds:SetAsync(player.UserId, player.BoolValues.Gift.Value) end) end)
try duplicate this script and configurate he to the other boolvalue