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)

2 comments
So what is the difference of _G and shared then?
Never mind, problem is solved.