Nextbot Problem

Hello,

I need Help with Lua scripts :).
I try to make a SCP 096 Nextbot: http://containmentbreach.wikia.com/wiki/SCP-096

He attacks you only if you view his face, but how can I do this via lua script?
I tried it with TraceLine, EyeAngles, EyePos… but it’s a little bit to complex for me…

Any Ideas?

(sorr for my english)

Try taking a look at the code of Stop it Slender, since Slenderman only kills you if you look at him.