local LassoHud = luajava.bindClass("de.hysky.skyblocker.skyblock.hunting.LassoHud") local cls = LassoHud.class or LassoHud.javaClass local field = cls:getDeclaredField("percentage") field:setAccessible(true) local player = require("player") local percentage = -1 local tick = 0 registerClientTick(function() local ok, value = pcall(function() return field:get(nil) end) if ok and value then percentage = tonumber(value) if percentage <= 0 and percentage ~= -1 then tick = tick + 1 if tick >= 10 then player.input.useItem() percentage = -1 tick = 0 end else tick = 0 end end end)