. Stomach has hurt for 8 hours. My last stool, about 7 hours ago was very dark and tacky. Pain is very crampy feeling and im farting.

Black stool. you may have stomach ulcer as you have pain and black tarry stool. I would seek attention now.
Go to the doctor! Dark, tarry stool is a sign of bleeding in your GI tract. You need to be seen right away to find out where the bleed is and why. .