Hello, I have a script after clicking it gives money (the value of money is a string). I use tostring(tonumber(Money) + any number) but after running the beta Roblox studio I get a warning
The point of strict is to catch errors before they can even happen.
In your case what happens when tonumber() fails? Because it can’t convert Money.Value to a number and returns nil instead? Then you will get an attempt to perform arithmetic (add) on nil and number error.
Instead you should check whether tonumber() fails, and handle the error if it does.
But looking at your code you should probably change your Money to be a NumberValue, instead of what I assume to be a StringValue. That would make more sense.