the easiest way to get the mystery goo is to go to halloween town. Go to the area where the big curly bridge is. There should be some purple mushrooms there. Hit one of the Jack o' Lanterns and pick it up. Lock onto one of the mushrooms and throw it at them. They should leave a mystery goo.