So I need to access a shared table that is defined in a server-side script with a local script. However, it can't find shared.serverList
in the local script.
--inside server script shared.serverList = {} --inside local script Workspace.createServer:InvokeServer(#shared.serverList+1, serverName, serverPassword, public)
shared is per-machine. It doesn't replicate from a client to a server or vice versa.