Im work with a module script that creates a _G and I have a local script that need to access said _G. The variables set up this this:

main.folder = folderLocation

_G.Name = main

The local script that needs to access it is:

local Folder = require(_G.Name.folder.Module)

Is there something wrong with my code? Or can I not do this?