Trying to make Toon Shader Material on UE4

I’ve copied some of the earlier code from Headstub (which he said was buggy) but I actually quite liked. And am getting the same issues as described by (as in, everything in my scene just appears as if there is no lighting) anyone else from the original “cel shader crew” have their cel shaders broken?

I’ve haven’t got this bizarre effect though!