This is exactly what I wanted thanks for this and any suggestion that how can I implement fade animation in this because this is not restarting the scene so I have to pause the scene than play fade animation than resume the scene right ?
but in the future I recommend to create a better file system structure, and have a control script in the main scene. you’ll have a better time working with it than you do now