In the console when i decrease value it just showing the " + " Console : > game.Players.tommy2100.leaderstats.Money.Value = game.Players.tommy2100.leaderstats.Money.Value - 250 Note: I have create a LocalScript and put into StarterGui
local plr = game.Players.LocalPlayer
local stats = plr:WaitForChild("leaderstats")
local money = stats:WaitForChild("Money")
local gold = stats:WaitForChild("Gold")
local rs = game:GetService("ReplicatedStorage")
local sound = rs:WaitForChild("GetCash")
local sound2 = rs:WaitForChild("GetGold")
money.Changed:Connect(function()
if money.Value + money.Value then
print("+")
elseif money.Value - money.Value then
print("-")
end
end)
gold.Changed:Connect(function()
if gold.Value + gold.Value then
print("+")
elseif gold.Value - gold.Value then
print("-")
end
end)

2 comments
This's the exact same thing as doing
5 + 5; you're adding and subtracting a number, which will return a result (5 + 5 = 10, so 10 will return), so it's going to doif 10 then. The solution's to keep a variable of the last number and compare it.Use gold:GetPropertyChangedSignal("Value"):Connect(function() end)