My money wont save after I change it if I change it in play mode then go in server mode and change my money then it will save but if I change it like this, and then the money does change in the leaderstats, but doesnt save please help!?
local script:
local extractMoney = game:GetService("ReplicatedStorage").RemoteEvents.ExtractMoneyRemoteEvent
local player = game.Players.LocalPlayer
extractMoney.OnClientEvent:Connect(function(money)
print(money)
player.leaderstats.Money.Value -= money
end)