You can use the Assistive Touch to take screenshots if your home button doesn’t work. Moreover, the Assistive touch button can perform multiple other features or act as a new home button for you.