local Storage = game:GetService('DataStoreService'):GetDataStore('SkinsHolder')
game.Players.PlayerAdded:Connect(function(player)
local skins = game.ServerStorage.Lazors:Clone()
skins.Parent = player
local savedskins = Storage:GetAsync(player.userId .. "-Skins")
if savedskins ~= nil then
for i,v in pairs(skins:GetChildren()) do
v.Value = savedskins
end
end
end)
game.Players.PlayerRemoving:connect(function(player)
local id = player.userId
for i,v in pairs(player.Lazors:GetChildren()) do
local skinsvalue = v.Value
for i,v in pairs(player.Lazors:GetChildren()) do
Storage:SetAsync(id.. "-Skins",skinsvalue)
end
end
end)
Its supposed to save the values(which are bool values) and load them if they are true or false. Why will this not work?

2 comments
Are there any errors printed?
Nope, not 1 single error and the weird thing is if I make 1 of them true both of them are true