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
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
You would want to store the models into ReplicatedStorage as it is replicated to both the client and server.
Correct.
That or: Game:GetService'ServerStorage'.Maps
It should also be mentioned that ServerStorage's contents are not replicated to the Client, so LocalScripts can't access it directly.
If you would like a LocalScript to access them, game:GetService("ReplicatedStorage") (use replicatedstorage instead of ServerStorage)
I never knew badcc used to use here!
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Unless you don't want the clients to access the models