December 4, 201510 yr So i have one simple killing script, it basically just clicks on wanted npc and loops it. But every time when npc is doing death animation it is still clicking it once again. I cant seem to fix my problem, can someone help me lol Edited December 4, 201510 yr by FFTL
December 4, 201510 yr i can help you very easy, My skype is profile.osbot pretty much, you wanna check the npc's health to check if it's >0 :P If you need any scripting help read pm!
December 4, 201510 yr if (target != null && target.exists() && target.getHealth() > 0) { Edited December 4, 201510 yr by Vilius
December 4, 201510 yr So i have one simple killing script, it basically just clicks on wanted npc and loops it. But every time when npc is doing death animation it is still clicking it once again. I cant seem to fix my problem, can someone help me lol Change if (target != null && target.exists() && target.interact("Attack")) To if (target != null && target.exists() && target.getHealth() > 0){ target.interact("Attack") You are interacting with the NPC in your if statement... which makes no sense Edited December 4, 201510 yr by Explv
December 4, 201510 yr Author Change if (target != null && target.exists() && target.interact("Attack")) To if (target != null && target.exists() && target.getHealth() > 0){ target.interact("Attack") You are interacting with the NPC in your if statement... which makes no sense Thanks alot man!!
Create an account or sign in to comment