i have everything done but i want to do a display (display is done too) that shows the new money that the player got. “+1 money” something like that.
i thought about getting the cash value before the money update and after the money update to calculate the new money but idk how since this function fires with the changed event
local leaderstats = game.Players.LocalPlayer:WaitForChild("leaderstats")
local value = leaderstats:WaitForChild("Cash")
value.Changed:Connect(function()
script.Parent.Text = "$".. tostring(value.Value)
end)