...in a situation that makes very little sense. I know exactly where it's crashing- when it attempts to set the maximum weapon rank- but I have no idea why - yes, I'm setting the value to a string, but there's no reason why it shouldn't work, since that's perfectly valid under normal circumstances. It worked fine previously, but while I was attempting to get something else to work, this portion of the script stopped working entirely as well. Here is the relevant code. Please help!