Autoload breaks on game path change

Godot Version

4.2.2

Question

So I have Glboal variable as autoload and when I try to export the game to documents folder all goes well, but if I move that game to another folder (or somebody tries to download the game) it prints to console this and autoload won’t work:
ERROR: Failed to load script "res://Scenes/Global.gd" with error "Parse error".

What I should do?