Hi,
I have a local variable in my script that can sometimes be turned off or in other terms stop existing (it's hard to explain). I'm referencing this local variable, however, when it stops existing my if statement referencing the local variable breaks the script. Is there a way to make my script check if the particular local variable still exists prior to running the command?
Thanks.

2 comments
Do you have code to show?
if variable ~= nil then end