The script editor, the one in the map editor, is very unstable. It has ruined many people's progress. It's better to edit scripts, for example, in Notepad. If you continue to use it, it might even corrupt the map.
Ouch... That's something... Okay, we'll make five copies of the map and spread them around in different places and on flash drives)
Added after 1 hour 50 minutes
And how can I set fog or light on a separate area of the map? (region)
Падение Грифона 136x136
Рельеф - 40%
Скрипты - 15%
Геймплей - 20%