The controls kept getting worse the more I tried to fix them, I think it's something to do with move_and_slide and the static bodies moving towards the player, so I left them in favour of getting the other mechanics done. Hope it wasn't too problematic :)