Jump to content

jajaXd

Members
  • Posts

    4
  • Joined

  • Last visited

  • Feedback

    0%

Profile Information

  • Gender
    Male

jajaXd's Achievements

Newbie

Newbie (1/10)

0

Reputation

  1. Changing the return value did not solve the issue
  2. I can't get the script to eat food. Any help? public int onLoop() throws InterruptedException { if (myPlayer().getHealthPercent() < 35) { eatFood(); sleep(random(500, 1000)); } return 0; } public void eatFood() throws InterruptedException { if (getInventory().contains("Shrimps")) { getInventory().getItem("Shrimps").interact("Eat"); } else { goBank(); sleep(random(1000, 2000)); goMonsterLoc(); } }
  3. Hi, Could I get a trial? Thank you
×
×
  • Create New...