get("#348") -- rgb and bright get("#137") -- split --get("#175") -- tableToString get("#394") -- Battery Symbol Finder (optimized) if x then total, brightness = 0, 0 brightnessR = 0, 0 for pix, count in pairs(innerPixels) do b = bright(rgb(pix)) brightness, total = brightness+b*count, total+count r = rgb(pix)/255 brightnessR = brightnessR+r*count end brightness = brightness/total brightnessR = brightnessR/total --return "Battery found. innerPixels: "..tableToString(innerPixels) print("Battery brightness: "..brightness..", red: "..brightnessR) return "Battery Level: "..(brightnessR > brightness+0.05 and "28%" or "70%") end