if script.EXP.Value <= 100 then script.Rank.Value = "General" else script.Rank.Value = "NoRank" end
The EXP is a NumberValue
and the Rank is a StringValue
. I don't understand why this isn't working.
It is in a local script in the StarterPack and the NumberValue's and the StringValue's are a child of the script.
try running it as a script instead of a local script
Technically it should work. Possibly there are other problems, not related to this code block. Please investigate more, and post what you've found.