Problem in loading death menu scene

I am facing a problem in my 3d project, I have 3 scenes Main Menu, Game, Death Menu
When clicking play in Main menu it switches to game scene for about second then I get the Death Menu, I checked the code it’s correct also there is no errors in the console about this problem, and i tried to copy scenes to a new project and still have the same problem what should i do?

Their is no health, player dies when a wall hits him, i made a loadscene condition when player dies it loads, should i copy the death code for you or the player code??