Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Create folder with game as parent local and globally usable?

local test = Instance.new("Configuration")
test.Parent = game

Is there a way to make this Configuration accesable for local and server scripts?

4 comments

0

I'm not sure, but maybe you can try using :FindFirstChild in your scripts

0

No i already tried this

0

Don't make the parent of "test" the game. Make it a service like workspace. There are other methods for scripts and local scripts to communicate, like modulescripts or remote functions/events.

0

I do not quite understand what you mean. Do you mean that I can do something like CreateServive ()

1 answer

✓ Accepted answer

Ok, so your problem is that you can't just put something in "game". But, there are some other options; we call these Services There are 12 main services: Workspace, Lighting, ReplicatedFirst, ReplicatedStorage, ServerScriptService, ServerStorage, StarterGui, StarterPack, StarterPlayer *Includes other services inside*, SoundService, Chat, LocalizationService You must choose one of these 12 services to put the folder in. Also, you can have more services but you would have to add them manually or if you have team create on, Roblox studio should add them for you.

1 comment

0

http://wiki.roblox.com/index.php?title=Category:Services List of every ROBLOX service for additional info. Also, there are no services inside StarterPlayer that I am aware of.

This discussion is preserved as it was. New answers, comments, and votes are closed.