I’m trying to make a script that puts a bunch of services and functions in the _G table so i don’t have to retype the same variables that require this stuff over and over again in multiple scripts. I know there are downsides to using the _G table and that I could use a module but that would require the need to store that module somewhere and reference it which I dislike.
You could put a BindableEvent into replicated storage and then do
event.Event:Wait() and when you’re done with setting .__G, you can fire the event
1 Like
nvm im dumb, just made it so a script waits until the variable “Loaded” is added into the table.
thx for the response but like i said i dont wanna reference an item outside the script to require or wait for.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.