Kon’nichiwa!
You can record the property!
Here is an update of your code snippet to demonstrate what I mean.
local Players = game:GetService("Players")
Players.PlayerAdded:Connect(function(plr)
local Stats = plr.Stats
local Wallet = Stats.Wallet.Value
Stats.Wallet:GetPropertyChangedSignal("Value"):Connect(function()
print("value changed")
--This is your old value.
print(Wallet)
--This updates your old value to your new value.
Wallet = Stats.Wallet.Value
end)
plr.CharacterAdded:Connect(function(char)
end)
end)
I added little notes to help you understand, if you need any more help with this, let me know!