Where can I set a global variable that can be adjusted properly? (Loading Level reset variable issue)

Thanks a lot!!! Couldn’t solve this problem for about 4 hours)))