XmQ Posted March 17, 2017 Share Posted March 17, 2017 Alright guys, I tried to figure it out but I can't just get it working. I want the not do something IF a normal person is clicking a certain thing in game. (so trough human input) Example: XMQ clicks at an chicken. Script, that is running at that time, figures out this a NPC and does a certain thing. Quote Link to comment Share on other sites More sharing options...
Acerd Posted March 17, 2017 Share Posted March 17, 2017 from Mouse class 1 Quote Link to comment Share on other sites More sharing options...
whipz Posted March 17, 2017 Share Posted March 17, 2017 46 minutes ago, Acerd said: from Mouse class is that even when human input is disabled ? Quote Link to comment Share on other sites More sharing options...
Acerd Posted March 17, 2017 Share Posted March 17, 2017 29 minutes ago, whipz said: is that even when human input is disabled ? one way to find out Quote Link to comment Share on other sites More sharing options...
Isolate Posted March 17, 2017 Share Posted March 17, 2017 (edited) Just use a mouselistener to get the click, compare positions to determine human or bot click, then get all the mobs in that area and their models and see if the click was in any of the model bounds Edited March 17, 2017 by Isolate 1 Quote Link to comment Share on other sites More sharing options...