Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

What is ~ used for?

What is ~ used for

2 answers

✓ Accepted answer

It's used for "not equal to".

if Blah ~= OtherBlah then

local blah = "blah

if blah ~= blarg then
print("~= means not equal to, as shown in this example.")
end

This discussion is preserved as it was. New answers, comments, and votes are closed.