Im fairly confident it was a worm I did play with it after I coughed it out as it felt very different even when i coughed it up. I didn't check to see if it world move but I did play with it enough to know it definitely felt exactly like a worm and not phlegm. Thanks a lot tho, something to look out for next time.