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

How to use serverstorage instead of lighting?

I heard someone say not to store maps or data in lighting anymore and put it in ServerStorage or something? Would you reference that the same way like you would with lighting? Ex:

local maps = game.ServerStorage.Maps

2 answers

✓ Accepted answer

You would want to store the models into ReplicatedStorage as it is replicated to both the client and server.

1 comment

0

Unless you don't want the clients to access the models

Correct.

That or: Game:GetService'ServerStorage'.Maps

3 comments

1

It should also be mentioned that ServerStorage's contents are not replicated to the Client, so LocalScripts can't access it directly.

2

If you would like a LocalScript to access them, game:GetService("ReplicatedStorage") (use replicatedstorage instead of ServerStorage)

0

I never knew badcc used to use here!

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