Need help with shop/currency datasave

local datastore = game:GetService("DataStoreService")
local ds1 = datastore:GetDataStore("MoneySaveSystem")

game.Players.PlayerAdded:connect(function(plr)
	local folder = Instance.new("Folder")
	folder.Parent = plr
	folder.Name = "leaderstats"
	local money = Instance.new("IntValue")
	money.Parent = folder
	money.Name = "Money"
	money.Value = 0
	money.Value = ds1:GetAsync(plr.UserId)
	ds1:SetAsync(plr.UserId, money.Value)
	money.Changed:connect(function()
		ds1:SetAsync(plr.UserId, money.Value)
	end)
end)