Are you positive it's the guitar and not a bunch of leads and pedals that are lying all over each other?
Try eliminating all other leads except for one direct connection to the amp