I haven’t worked with ModuleScripts in a while. Does anyone know why this is occurring?
Here’s the server script I’m calling it from:
local module1 = require(script.Modules.Module1)
wait(2)
module1.Music1()
I haven’t worked with ModuleScripts in a while. Does anyone know why this is occurring?
Here’s the server script I’m calling it from:
local module1 = require(script.Modules.Module1)
wait(2)
module1.Music1()
It seems as though the module script is returning more than one value as hinted by the error message. How many things are you returning in the module script.
It would be helpful if you provided the code from your module script to further debug this.
Apologies for the wait, I’ll do that now.
I just realized that when deleting some code, I accidentally deleted the “return module” part of the code. Thanks for your help!