of     1   

Luo_Basics
#183489204Saturday, February 13, 2016 6:49 AM GMT

can you use it like if script.Parent.Value == not nil then
ParadigmaticAnon
#183489288Saturday, February 13, 2016 6:53 AM GMT

Yes. The "not" operator merely retrieves the inverse of a supplied Boolean value. As an example, "not true" would return "false." Likewise, "not false" would return true. The "not" Boolean inverse of non-nil data is false. The Boolean inverse of nil itself is true.
Luo_Basics
#183489347Saturday, February 13, 2016 6:56 AM GMT

ok, lets say the value is a string saying asjkldhaskjldh if script.Parent.Value == not nil then print'hello' end would that print hello?
ParadigmaticAnon
#183489390Saturday, February 13, 2016 6:57 AM GMT

"would that print hello?" Given that the Boolean inverse of nil is "true", the value of your object would need to be true itself in order for the Lua expression to execute.
DrHaximus
#183489468Saturday, February 13, 2016 7:01 AM GMT

"would that print hello?" this is the innate issue with doing: if str == (not nil) then .. end as apposed to if str then .. end
Luo_Basics
#183489489Saturday, February 13, 2016 7:01 AM GMT

oooo didnt know about str, thx
DrHaximus
#183489610Saturday, February 13, 2016 7:06 AM GMT

well you can substitute "str" with "something.Value" or whatever local value = ... -- set this to any value if value then -- this value is not nil end
Wrathsong
#183489707Saturday, February 13, 2016 7:10 AM GMT

ok so if Points.Value == nil then is the same as if not Points.Value

    of     1