This is a known glitch in the Spy Island program. Sometimes during the final battles (mini-bots or Director D) they will stop attacking you. You have to reboot Poptropica and play the sequence of the hideout over again.
Director D is the Director of the "friendly" spy agency on Spy Island. He will give you the assignment to rescue the three kidnapped spies. He is in Headquarters, the large building where you arrive on the island.
I think he is the spy director from SPY island...
director.d
On spy island, you stop B.A.D. and its leader Director D.
The (good guys) Spy Headquarters is right where you land on Spy Island : the tall shiny building. Enter and go upstairs to get your mission from Director D.
director d
you have to go to b.a.d center then you have to go to the teleporter thing and then you have to defeat director d.then you will automatically be in the spy center and then you will win spy island,and will also be a director.(that's all i know,sorry.)
donit trust director d
Director D of course
Talk to Director D at the Spy Headquarters. He will give you your mission. (see related question)
Once you defeat the satellite robots, you will be back at the Headquarters and receive your Island Medallion. You are also promoted to Director of the spy agency. (see related question)
When you have defeated the minibots and director D, you are transported back to Spy headquarters to receive the Medallion. You are also made the new Director.(see related question)