I know that == goes for if statements Not much else I know about == I know Nothing about ~= though And I need to know the difference Please This would be helpful.
✓ ANSWER ACCEPTED
What is the difference between "==" and "~="?
2 answers
✓ Accepted answer
= equals
== is equaled too
~= is not equaled too
"==" means if a value it's equal to something a function will run for example "if Workspace.You == nil then -- nil means 0/nothing print("player does not exist") end" and "~=" means if a value it's not equal to something then a function will run for example "if Workspace.You ~= nil then print("Player Exist") end"
1 comment
0
THANKS! :D
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Thank you
Nice and simle anwer. I like it.