Tried to do TileCheck again

I'm not sure how you checked the distance between the ball and
wall(SphereCollide) but I tried to emulate it for an invisible wall
check to change tileNum and I can't get it to work. I commented out the
code but take a look at it and see if you can help me