If you know that line 12 is the issue, why don’t you change it? I would assume that what you meant to do instead of line 12 was:
local leaderstats = player:FindFirstChild("leaderstats")
if not leaderstats then return end
local class = leaderstats:FindFirstChild("Class")
Also, I know I said that the best way to script / learn is to do it the way that works the best for you, however I really do think that the base code I provided you with yesterday would b a lot simpler (not to talk about the memory leak that you have added into it by using that while loop).
Did you add the print statement? I’m looking for what these values are not the error. The issue is that the 2nd move cannot be converted to a number making it nil
I forgot to tell you eMulti This is a multiplier that a local player can buy for coins to get a bigger multiplier, but the classes there are nothing, this is a class, it’s like a rebirth