You wrote the same thing twice, these are the exact same comparisons. I don’t get what your trying to do. Are you seeing if they’re the same string character by character or are you looking for a character in a string?
local stringValue1 = workspace.Value1
local stringValue2 = workspace.Value2
if stringValue1.Value == stringValue2.Value then
print("Strings match!")
end
This works for me, you just check each string value’s “Value” property.
it depends on if you care whether they all match or just any two, or just two consecutive
if you use or then lets say you have these values dog, cat, owl, chicken, chicken
if you use ‘or’ then the case will be true even though the first ones don’t match