Closed wchill closed 9 years ago
That becomes more complicated if targets are switched.
I actually grabbed this code straight from reddit, but anyway it dynamically pulls the targeted enemy and uses that for clicks. It works perfectly fine (level 355 for me).
I'm going to leave autoclicking out of the main repo because autoclicking crosses the "cheating" line. I don't want this script to go beyond what a human can do so that it doesn't cause players to get banned or trigger a response from Valve.
There's an easier way of doing this, you only send amount of clicks every second, so it would be easier to just override that.