Say you have a module script like this:
local module = {}
local connection
function something()
-- do stuff here
end
function module.start()
connection = game:GetService("RunService").RenderStepped:Connect(something)
end
function module.stop()
connection:Disconnect()
end
return module
If a local script does this:
local module = require(path to module script)
module.start()
task.wait(3)
module.stop()
module = nil
Does that required module not exist anymore? Or will it still exist in the memory?