You can get your eye vector pretty easily, even though Badspot technically disabled it to prevent aimbots. The problem is that once you do get your eye vector, you can't shoot out a raycast to get the object you're looking at.
Unfortunately, it's not possible to detect the object you're looking at.