Light function not working!

I’ve created a very simple flickering light function material, the thumbnail shows flickering as intended but it does nothing when applied to a light… I’ve tried this in a fresh blank project and it did not work either. A friend of mine made the exact same material in a fresh project and it works fine for him. How can I resolve this?

(screen shots of my material and test light from my main project)

Imgur

Imgur