It sounds like your snake may be simply just spooked a little, or this could be a possibility.
Sometimes there are snakes that may be prone to be more sensitive to changes in their enviroment than others. Some snakes you can take home, put it in its' new cage, throw a mouse in and WHAM! they will eat it instantly. Some others though need some more time to become adjusted and in complete comfort with their new surroundings. The transportation from the pet store or show to the new cage can be stressful.
I would first make sure your snake has an adequate hide box or two in its' cage, to make sure it feels like it can retreat from what it senses first as danger, so it feels secure. Put two hideboxes in the cage if you only have one as an experiment. The more secure it feels, the more relaxed and open to eating and getting used to its' new home the snake will be. You showed the snake was striking at you for no reason. The snake is simply stressed and scared and does not know that you are not a threat to it yet. Remember, to them, we may appear to be this huge " giant " to them.
Also, make sure the cage is not too big, in other words, the cage should not be so big in that the snake feels like the area is too " open ". You probably have it in the proper size cage but I just wanted to suggest this as well. I have seen where baby snakes were placed in huge cages and they refused to eat.
As far as temps, I keep my kings on an average of 80-81. If the temps are really high, they can be prone to being almost too active.
In all, give your king some time alone completely. I would not mess with it for at least 3 days. That way, he or she can get used to their new home. Then, I would try a pinkie placed in there with the least amount of distraction possible. In fact, leave the room and turn off the lights if you can. I have had picky or sensitive eaters prefer that before.
Take care and keep us posted.
-----
Genesis 1:1