Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Create folder with game as parent local and globally usable?

Asked by 5 years ago
Edited 5 years ago
local test = Instance.new("Configuration")
test.Parent = game

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

0
I'm not sure, but maybe you can try using :FindFirstChild in your scripts ScrubSadmir 200 — 5y
0
No i already tried this MageMasterHD 261 — 5y
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. EzraNehemiah_TF2 3552 — 5y
0
I do not quite understand what you mean. Do you mean that I can do something like CreateServive () MageMasterHD 261 — 5y

1 answer

Log in to vote
1
Answered by 5 years ago
Edited 5 years ago

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.

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. EzraNehemiah_TF2 3552 — 5y
Ad

Answer this question