So I have this module script saved to Roblox and I want to require it and load a GUI. Putting the GUI within the script doesn't work. Any help?
When you create a module script, it'll create a table which it will then return. Change the local to a local function and return it at the end. Do all the UI code in the function, for example.
local function startApp() -- do stuff end return startApp()