Shuts off when hot?

It's definitely not a carb/fuel issue. When it does start to die I've tried giving it gas but it stalls anyways. Doesn't matter if its at idle or I'm reving it or at a high idle, once it starts to die there's nothing i can do to keep it running.