This seems extremely complicated. Can you explain what you want? I get the general idea, but specifically, how should this work?
When you get in his line of sight, He fades away, gets right behind you and fades back in and attacks. After that he fades back out, goes back to where he started, then fades back in. The only problem is that once the whole cycle starts again, he stays invisible after he fades out.