My module script keeps getting a error “require(game.ServerScriptService.ControlModule):TurnOnLEDVDA():1: attempt to call a nil value - Server” when i call it, i changed a lot of things on it and it still have this error when i call it
Script:
-- fixed.
If this is the full module script - there’s no “TurnOnLEDVDA” function in the ModuleManager module
Perhaps you meant this?:
require(game.ServerScriptService.ControlModule):PowerLEDVDA()
As @WingItMan said, there’s no such function as TurnOnLEDVDA, but there’s another function with a similar name that you might’ve meant to call.
Also, seems like you have an extra end here :
end
I only see one function and 1 if, that other end shouldn’t be there.
And here you wrote i f instead of if.
Both mistakes could make the script not work as well.
Thank you. This fixed the problem