Nikok Posted March 25, 2017 Share Posted March 25, 2017 While my script is webwalking to a location and it gets hit it doesnt eat and does not return the correct hp%, instead it always returns 100 while walking even if i restart the script and may end up dying if (myPlayer().getHealthPercent() > 65) { walking.webWalk(Wilderness); } else if (myPlayer().getHealthPercent() < 65) { inventory.getitem(food).interact("Eat") } it never eats until it has actually reached the destination unless it dies Quote Link to comment Share on other sites More sharing options...
Adept Posted March 25, 2017 Share Posted March 25, 2017 (edited) Check out the reply by @Abuse on a topic I posted some time ago: Edited March 25, 2017 by Adept 1 Quote Link to comment Share on other sites More sharing options...
Nikok Posted March 25, 2017 Author Share Posted March 25, 2017 4 minutes ago, Adept said: Check out the reply by @Abuse on a topic I posted some time ago: Thanks for this, been trying to make it work for a while now, hopefully this resolves all my problems Quote Link to comment Share on other sites More sharing options...