Putting IU on r/place, help out if you want

Lmao theres no way we can do that. Run this script with me and one other person overnight.

var colors = [
  0,0,0,0,5,5,5,5,5,5,0,0,0,0,
  0,0,0,0,5,0,0,0,0,5,0,0,0,0,
  5,5,5,5,5,5,0,0,5,5,5,5,5,5,
  5,0,0,0,0,5,0,0,5,0,0,0,0,5,
  5,5,0,0,5,5,0,0,5,5,0,0,5,5,
  0,5,0,0,5,5,0,0,5,5,0,0,5,0,
  0,5,0,0,5,5,0,0,5,5,0,0,5,0,
  0,5,0,0,5,5,0,0,5,5,0,0,5,0,
  0,5,0,0,5,5,0,0,5,5,0,0,5,0,
  0,5,0,0,5,5,0,0,5,5,0,0,5,0,
  0,5,0,0,0,0,0,0,0,0,0,0,5,0,
  0,5,5,0,0,0,0,0,0,0,0,5,5,0,
  0,0,5,5,5,5,0,0,5,5,5,5,0,0,
  0,0,0,0,5,5,0,0,5,5,0,0,0,0,
  0,0,0,0,5,0,0,0,0,5,0,0,0,0,
  0,0,0,0,5,5,5,5,5,5,0,0,0,0
];
var colorsABGR = [];

var indiana = {
  x: 60,
  y: 890,
  width: 14,
  height: 15
};
var placed = 0;
var client;
var canvasse;
var jQuery;
var test = 0;
r.placeModule("Indiana", function(e){
  client = e("client");
  canvasse = e("canvasse");
  jQuery = e("jQuery"); 
  for(var i=0; i<client.palette.length; i++){
    colorsABGR[i] = client.getPaletteColorABGR(i);
  }

  // Start
  if(!test){
    attempt();
  } else {
    drawTestIndiana();
  }
});

function attempt(){
  var toWait = client.getCooldownTimeRemaining();
  if(toWait === 0){
     for(var i=0; i<colors.length; i++){
        if(colors[i] === -1){
          continue;
        }
        var targetPoint = getPoint(i);
        var pixelColor = getPixel(targetPoint.x, targetPoint.y);
        if(pixelColor !== colorsABGR[colors[i]]){
            client.setColor(colors[i]);
            client.drawTile(targetPoint.x, targetPoint.y);
            console.log('Pixel Placed at: (' + targetPoint.x + ',' + targetPoint.y + ')');
            break;
        }
     }
  }
  setTimeout(attempt, toWait + Math.round(Math.random() * 1500));
}

function drawTestIndiana(){
  for(var i=0; i<colors.length; i++){
    if(colors[i] === -1){
      continue;
    }
    var targetPoint = getPoint(i);
    canvasse.drawTileAt(targetPoint.x, targetPoint.y, colorsABGR[colors[i]]);
  }
}

function getPoint(i){
  var x = i % indiana.width;
  return {
    x: indiana.x + x,
    y: indiana.y + (i - x) / indiana.width - indiana.height
  };
}

function getPixel(x, y){
  return canvasse.writeBuffer[canvasse.getIndexFromCoords(x, y)];
}
/r/IndianaUniversity Thread Parent