The title says it, what “~” does?, like i got this example, but what it does, i am not sure if is a math sign
local number = 1
if number ~= 1 then
print("true")
end
The title says it, what “~” does?, like i got this example, but what it does, i am not sure if is a math sign
local number = 1
if number ~= 1 then
print("true")
end
~= means not equal to
website about math signs on roblox, hope it helps
This means if it is not equal to, for example if an object is ~= nil then that means it exists since nil is something that does not exist.