This is my main script (located in startergui) :
_M = require(334661744) _M.test1()
This is my module script :
local _M = {} function _M.test1() script.Folder.MainWallGUI.Adornee = game.Workspace.VritixConsole.MainWall end return _M
Fixed the problem before but now there is a new one
The above scripts don't do anything, they don't insert the guis nor do they have any errors in the output..
script
in a ModuleScript refers to the module, not the script requiring the module.
You should write your function to be given that sort of information as parameters, instead. e.g.
function _M.test1(folder) folder.MainWallGUI.Adornee = ......
_M.test1(script.Folder)