generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: What is ReplicatedStorage/ReplicatedFirst

Previous Thread :: Next Thread 
Exanimatedn9dean is online. Exanimatedn9dean
Joined: 11 Aug 2015
Total Posts: 1469
20 Dec 2016 02:29 AM
seriously, wth are these used for
Report Abuse
SoapyDishy is not online. SoapyDishy
Joined: 31 Aug 2015
Total Posts: 2169
20 Dec 2016 02:30 AM
storage replacement for lighting
Report Abuse
Exanimatedn9dean is online. Exanimatedn9dean
Joined: 11 Aug 2015
Total Posts: 1469
20 Dec 2016 02:30 AM
why would someone want to 'store' stuff inside lighting, pls be more specific
Report Abuse
Disillusions is not online. Disillusions
Joined: 10 Jul 2011
Total Posts: 6365
20 Dec 2016 02:33 AM
replicatedstorage is the place to store anything that needs to be cloned/re-used. lighting used to be used, but since replicatedstorage was added its encouraged to use that instead.

say you have a bunch of weapons that you buy in the shop. you can't put it in starterpack, since then every player will have every weapon. you would use replicatedstorage/serverstorage to clone the appropriate weapons.


Report Abuse
Exanimatedn9dean is online. Exanimatedn9dean
Joined: 11 Aug 2015
Total Posts: 1469
20 Dec 2016 02:35 AM
TY BB.
Report Abuse
General_Scripter is online. General_Scripter
Joined: 31 Aug 2016
Total Posts: 34
20 Dec 2016 02:36 AM
If it's weapons and such, you should really put them in ServerStorage and clone them on the server (ServerStorage is only accessible from server scripts, ReplicatedStorage is replicated across clients and the server). ReplicatedStorage can be used to clone other, less risky things such as GUIs as then the client can clone it itself reducing the delay between as the client will be able to do the job itself rather than getting the server to do it causing extra, unnecessary requests.

Report Abuse
Exanimatedn9dean is online. Exanimatedn9dean
Joined: 11 Aug 2015
Total Posts: 1469
20 Dec 2016 02:41 AM
im not surprised wiki didnt mention any of this
Report Abuse
Disillusions is not online. Disillusions
Joined: 10 Jul 2011
Total Posts: 6365
20 Dec 2016 02:52 AM
replicatedfirst loads before anything else - it can be used for something custom loading screen.


Report Abuse
Owewoae is not online. Owewoae
Joined: 16 Aug 2016
Total Posts: 404
20 Dec 2016 06:09 AM
Like on my game, I have elevator game i make some map in lighting for make elevator make map, Sorry for my english :(
Report Abuse
foreverpower is not online. foreverpower
Joined: 05 Feb 2011
Total Posts: 5578
20 Dec 2016 06:14 AM
"im not surprised wiki didnt mention any of this"

http://wiki.roblox.com/index.php?title=API:Class/ReplicatedStorage:

"A container whose contents are replicated to the server and all connected clients. This is an intended replacement of the Lighting service as a storage place for ROBLOX assets, such as models.
If you would prefer a secure storage place, which the client cannot see or interact with, see ServerStorage."

Yep, didn't mention it anywhere


Report Abuse
demonshadow553 is not online. demonshadow553
Joined: 06 Sep 2013
Total Posts: 2626
20 Dec 2016 08:13 AM
Ye basically a place accessible by both the client and the server
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image