So - I have a modulescript that I wanted to use as a “Master†script, which would have references to functions, services, configurations, ect.
To make it easier, I figured I could write a ReplicatedMaster script with all client/shared stuff, and then have a ServerMaster script that could require the ReplicatedMasterScript.
I wanted to just require the clientMaster with the serverMaster, and then add the server functions to it.
So basically
local Master = require(game.ReplicatedStorage.ReplicatedMaster)
local ServerFunctions = require(game.ServerStorage.ServerFunctions)
Master.ServerFunctions = ServerFunctions
return Master
But when I then try to require the ServerMaster, the ServerFunctions part isn’t being shown in intellisense.
Obviously I could just require both separately, but there was a lot I wanted to do with this setup, and it would be much more organized in the end.
Is there something else I have to do, or is this not possible?
1 post - 1 participant