phoniex
|
  |
| Joined: 03 Feb 2008 |
| Total Posts: 34985 |
|
|
| 14 Dec 2013 12:25 PM |
-ReplicatedStorage -ServerScriptService -ServerStorage
What are the functions of these services and how do I use them?
~Rock is dead. Long live paper and scissors!~ |
|
|
| Report Abuse |
|
|
|
| 14 Dec 2013 12:26 PM |
ReplicatedStorage: Place things like GUIs or LocalScripts in here. These can be accessed by LocalScripts or the client.
ServerScriptService: Put normal scripts in here to be used by the server.
ServerStorage: Put models, parts, anything really in here and the server can access them. |
|
|
| Report Abuse |
|
|
| |
|
phoniex
|
  |
| Joined: 03 Feb 2008 |
| Total Posts: 34985 |
|
|
| 14 Dec 2013 12:30 PM |
@YaYa
But doesn't the Lighting service already do this kind of thing? How is it any different?
~Rock is dead. Long live paper and scissors!~ |
|
|
| Report Abuse |
|
|
|
| 14 Dec 2013 12:43 PM |
Basically you can access them quicker. I did a test to find this out. Loading 10k parts from lightning took about 10s, from storage it was like 7s.
~DrRandomous 'Nerd' |
|
|
| Report Abuse |
|
|
|
| 14 Dec 2013 12:52 PM |
-The difference betwen ServerStorage and Lighting is that the ServerStorage doesn't get replicated to the client - that way, scripts that you only want on the server can't be stolen by people who use 3rd party programs to read out the process memory.
-The ServerScriptStorage does the same, except scripts placed in there do actually run.
-The ReplicatedStorage does the same as ServerStorage but is replicated to the client. Its purpose is to replace the Lighting as a means of storing object, and apparently it's quicker (someone posted above). I haven't tested that myself. |
|
|
| Report Abuse |
|
|