So i'm trying to compare strings and I'm confused on why this outputs as "uh..oh.." when they are the exact same???
nombre = "CHOCO73887"
if plr:GetPlayers()[1] == nombre then
print ("no duh...")
else
print("uh...oh...")
end
(as you can tell by my account, my roblox name is CHOCO73887) Can anyone help solve this? Thanks in advance

4 comments
You're comparing the player object to the the string. Just replace it with plr:GetPlayers()[1].Name == nombre.
This worked! Thank you so much!
I'm assuming that "plr" is a variable representing the "Players" service.
Also, np.