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

What does ~= actually mean and what is the difference from ==?

I have a code which checks for parts in region. But it only works with ~= and not ==. What is the difference between these two?

2 answers

~= "Not equal comparator"

Example:

if 1 ~= 0 then
	print("1 Is not equal 0")
end

if 1 == 1 then
	print("1 Is equal 1")
end

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