get("#348") -- rgb and bright get("#137") -- split --get("#175") -- tableToString get("#394") -- Battery Symbol Finder (optimized) if x then total, sum = 0, 0 for pix, count in pairs(innerPixels) do b = bright(rgb(pix)) if b < 0.5 then sum = sum+count end total = total+count end sum = sum/total --return "Battery found. innerPixels: "..tableToString(innerPixels) print("Total: "..sum) return sum >= 0.19 and "Battery Charging" or "Battery Not Charging" end