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

can somone tell me all the services that are local?

Asked by 5 years ago
Edited 5 years ago

im making this game, and when you buy something it goes into a folder, but i feel like it goes into every clients folder. Right now im putting it in Lighting is it local or can someone tell me another service i could use?

0
This is not very clear. Could you explain yourself a bit better? Also Lighting should never be used for storage. ReplicatedStorage and ServerStorage are designed for storage. User#21908 42 — 5y
0
You can tell because their name ends in storage. I guess that might be a bit unclear when you are first starting to learn how studio works. User#21908 42 — 5y
0
I know that Lighting is the obvious place to store things as compared to ReplicatedStorage or ServerStorage. User#21908 42 — 5y
0
But as it turns out: You should never use Lighting for storage. User#21908 42 — 5y
View all comments (3 more)
0
I hope this helps and have a great day scripting! User#21908 42 — 5y
0
ok User#23365 30 — 5y
0
Lastly as a note: While the client can access things like ReplicatedStorage, so can the server. User#21908 42 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago

Over all you should never use Lighting for storage. That is why we have ServerStorage and ReplicatedStorage. ServerStorage cannot be accessed by the client and neither can ServerScriptService. ReplicatedStorage can be accessed by the client. If you want to know all the things that the client can access, try doing a server test in studio. Then look at the client. You should be able to see all the things that the client would be able to see/use in a normal server. I hope this helps and have a great day scripting!

Ad

Answer this question