HELP ME!!

my shield mantis Sheldon just molted ummmm is he dying??? he’s still moving his legs but he’s flailing about a bit and his wings obviously don’t look great :( anyone know what could have happened?