Night Vision Thing Won't Work

There’s not enough context here. What about your script doesn’t work and are you able to pinpoint where the issue happens in your code? What steps do you commit to before the issue occurs? Is there anything in your console? What debugging have you done so far? Please supply context.

Besides lack of context, there are some particularly wrong-seeming choices and other nitpicks I have about the code I’d like to note: