Script almost infinite check