How could I get a notification of a historical battle on a certain date and time of day? Which gives you the opportunity to participate and sends you to a certain scene.
This indicates that script is called every frame. This is getting confusing. I think it works like this. When the time comes, you're redirected to the menu. When you click one of the buttons, You go back to the main world. The game calls that script again to display date. You're redirected to the menu again. It works like an infinite loop of actions. Fixed version should work.