So I'm trying to store a table in _G, for all of my other server scripts to access. The only problem I'm having here is at the beginning of every other server script, this code is pretty much required to access _G.ServerData
while not _G.ServerData do
wait()
end
So I know why this is needed, however it gets kind of tedious to keep pasting this at the beginning of every new script I make.
Question
With that out of the way, this is basically my question: Is there a way to guarantee that _G.ServerData will always be ready to access without having to write the same code above in every script?
Is there like a service or something I can put server scripts into to guarantee they'll run first? (like the ReplicatedFirst service, but for server scripts)
Anyway, if anybody has some insight on this I'd appreciate it. Thanks.
