I’m working on a plugin that helps you reference Instances from the explorer to your script easily
It currently works by selecting an Instance in the Explorer and you write Path. and see all the Variables you have above while ignoring any variable commented out and finds the smallest path to the Instance

Its not released yet as i intend to add more functionality and accounting for where it is in the explorer, for example if the script is in StarterGui and you try to reference the scripts parent/child it would account for in-game it would copy the path of local CloseBtn = script.Parent.CloseBtn instead of local CloseBtn = game.StarterGui.Shop.MainFrame.CloseBtn
Let me know if you have any Feedback/Request!