I’m trying to check if a string is the same as another string.
(One is a string variable and one is a string value. It’s in a server script in serverscriptservice
The strings are identical in the output, but everytime I check if they are the same it comes out as false
I’ve tried converting the stringvalue as another new variable with tostring, I’ve tried string.find and string.match.
Sometimes it says that it tries to compare a string to an instance but neither of them are instances, and I have not forgotten to specify the value of the stringvalue.
It isn’t anything specific, so I haven’t included any code.
Thank you!
I didn’t show the script because its like a singular if statement, and I’ve tried multiple different things. Any information there is about it I’ve already mentioned.
Whoopsies nevermind. I’ve just realised that it’s because of the way I got one of the strings, and I forgot to specify player**.name** rather than just player. Sorry!