Sorry, in my first post, I was talking about the second script instead of the first. If dif ~= cash.Value and dif 0 and script:FindFirstChild("Coins") then You should change this local script: local Players = game:GetService("Players") If it worked, it would be appreciated to have this set as solution Have a great day/night! Local dif2 = .Coins.Value - difĭif = .Coins.Value Also, when you sell the coin, your .Coins.Value turns to 0 but the variable dif does not since dif is larger than .Coins.Value. Instead of using cash.Changed, you should just have a loop instead. New:WaitForChild("CoinsInfo").Text = "+". Local new = script:WaitForChild("Coins"):Clone() If dif ~= cash.Value and dif <= cash.Value then Local cash = leaderstats:WaitForChild("Coins") Local leaderstats = plr:WaitForChild("leaderstats") Instead of linking the textbox to multiple cells, have the single cell contain the value of the multiple cells. Edit your videos anytime with a CTA button, trimming, and custom static or GIF. Get accurate feedback from all stakeholders by having them comment directly on your files. Find out who viewed your files, when, and from where.
If that is not it, here is the script for the +Coins GUI Which is the script that makes it show up local Players = game:GetService("Players") Jumpshare sits in the menu bar so you can quickly share your work and ideas. Local Cash = Stats:WaitForChild ("Coins") Local Stats = Player:WaitForChild("leaderstats")