I’m working on a shop system, and for some reason, even though the print statement on line 156 prints out the ClassName, right after, it says it attempted to index nil with “ClassName.”
I don’t see how this makes since, because it prints it out, and there should be nothing changing the value in between the print and the error.
I think this is because the second case of the if statement on line 131 isn’t actually overwriting the variable TypeFolder. Try removing the local in front of the declaration.