Creating a new sheet in Google Sheets and renaming new sheet

Either an issue with your script, blocks or spreadsheet. Show everything, and check all of this first: