Jump to content

How do i make my script eat while webWalking?


Recommended Posts

Posted

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...