local test = Instance.new("Configuration")
test.Parent = game
Is there a way to make this Configuration accesable for local and server scripts?
local test = Instance.new("Configuration")
test.Parent = game
Is there a way to make this Configuration accesable for local and server scripts?
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.
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.
4 comments
I'm not sure, but maybe you can try using :FindFirstChild in your scripts
No i already tried this
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.
I do not quite understand what you mean. Do you mean that I can do something like CreateServive ()