A customer drove into the pit to purchase base rock mat. as he drove up to the load out area he had a heart attack. The loader operator noticed something was wrong and notified me and the supervisor. When we arrived it was clear that the customer was not breathing so we called 911 and started CPR until the paramedics arrived.