The Hero's attacks have no effect. Use the Goof-Off's "Play" to fight your way through the Demon King's castle.