Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.
Oh sorry I misinterpreted the screenshot. I guess the game already closed and then showed that. Have you tried taking out the script and testing the game to see if it isn't the script? What other scripts are you using in the game? More information is necessary at this point.