I am attempting to create a custom module with redone UIs for Basic Admin 2.0, however, the module is not loading properly when I attempt to require it. There are two errors that I’m getting.
01:20:00.084 - ModuleScript.Components.Other.Resize:10: attempt to call a nil value
01:20:00.085 - Stack Begin
01:20:00.088 - Script ‘ModuleScript.Components.Other.Resize’, Line 10
01:20:00.089 - Stack End
01:20:00.090 - Requested module experienced an error while loading
01:20:00.091 - Stack Begin
01:20:00.092 - Script ‘ReplicatedStorage.MainModule’, Line 159 - function startModule
01:20:00.093 - Script ‘ServerScriptService.Basic Admin Essentials 2.0’, Line 305
01:20:00.094 - Stack End
Basic Admin’s loader script (the one with the configuration) original had it require the ID of the original module from the configuration, but I changed it to this line:
require(game.ReplicatedStorage:WaitForChild("MainModule"))(Plugins,Configuration)
Does anyone who has possibly worked with BA know the solution to this? If so, please let me know.