Hi, I have a datastore script that saves likes its suppose to, but when I click the gui that gives me money and leave it doesnt work. I tried going on console and giving myself money and I left, it worked. I think somethings wrong with the gui but I dont know what. It shows its changing the money but it doesnt save it. Heres the script
local player = game.Players.LocalPlayer
script.Parent.MouseButton1Click:Connect(function()
player.leaderstats.Money.Value = player.leaderstats.Money.Value + 1
end)

1 comment
Well datastores dont work like before, so i suppose for your problem, u should use the datastore2 tutorial in GUI Form, I can help if you want.