Havent botted in long time decided to try it again. When I start your script after few kills bot stops and this is what happens:
java.lang.AbstractMethodError: client.getMinimapX()I
at org.osbot.rs07.api.util.GraphicUtilities.getMinimapScreenCoordinate(dl:818)
at org.osbot.rs07.api.map.Position.isOnMiniMap(ek:957)
at org.osbot.rs07.event.InteractionEvent.execute(gk:955)
at org.osbot.rs07.event.EventExecutor$2.run(ph:93)
at org.osbot.rs07.event.EventExecutor.execute(ph:264)
at org.osbot.rs07.api.model.Character.interact(rk:695)
at COm1.j(x:76)
at COm1.j(x:204)
at Main.onLoop(g:58)
at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(vj:152)
at java.lang.Thread.run(Unknown Source)