Basically I’m trying to add values together and they don’t add, or get removed when I’m clearly telling it to. It’s being done with FE enabled but I don’t believe that thats the problem.
You could do it on both sides to see its to do with a problem with the server not being able to see your values.
I believe you should be making your IntValues on the server so that both the player and the server can see it - since its in FE.
local Stats = plr.Stats
local Coins = Stats.Coins.Value
local CurrentStorage = Stats.CurrentStorage.Value
local Multiplier = Stats.Multiplier.Value
Coins = Coins + CurrentStorage * Multiplier
CurrentStorage = 0
print(`done`)
My only guess now it could be your variables. One time I had an issue with a calculation not going through because I didn’t use variables.
Plus, use brackets to indicate what you’re actually multiplying?
For testing, I use a clickdetector to fire a remoteevent (the same one im using for this?) that fires the client and gives currentstorage value successfully.
Where do you change the variable? I believe you’re only changing the value locally because from the last screenshot you sent was your clients IntValue because of the blue highlight around your ROBLOX window. You need to be changing the values on the server.