An auto-execute script is running before the game has loaded. Put this header at the top of every script in your auto-execute panel: If you only run scripts…