chalkX[ii]=chalkX[ii]-chalkXSpeed;//making the chalk move across the screen
if(chalkX[ii]<0){
chalkX[ii]=canvasWidth+(ii*200);
if(ii==chalkNum-1)
chalkXSpeed+=2;
chalkY[ii]=(int)Math.floor(Math.random()*((maxplayerY+player[0].getHeight())-chalk[0].getHeight()))+chalk[0].getHeight();//making the chalk appear at random heights
}
chalkCol=ii;
while(chalkCol>4)//keeping chalkCol between 0 and 4;