I am loading multiple .lua files and it works really well. However, I am currently encountering a serious problem with this method. I have not been able to unload the files, which is preventing me from being able to reload any level that has already been loaded. Does anyone know how to unload files?
–This loads the file from the selection screen
local level3 = require(“Level1”)
–Then I go back to the selection screen
–This no longer loads the file
local level3 = require(“Level1”)
[import]uid: 4871 topic_id: 617 reply_id: 300617[/import]