This can be done with lua and is not difficult to do.
I atm don't have my script notes handy so I can't look up the exact codes to do this but I do happen to know how to pull off fear of only the player and soon as I get time I will try to remember to post here exactly how to do it.