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
 

Where would I store gear?

Previous Thread :: Next Thread 
Definites is not online. Definites
Joined: 02 Nov 2015
Total Posts: 163
17 May 2017 10:26 AM
In replicatedsotrage or serverstorage?

game.Players.PlayerAdded:connect(function(player)
if game:GetService('GamePassService'):PlayerHasPass(player, passid) then
game.Lighting.Saxophone:clone().Parent = player.StarterGear


Report Abuse
RogueMage is not online. RogueMage
Joined: 28 Jan 2012
Total Posts: 1235
17 May 2017 10:28 AM
Depends how much freedom you want to give the player
Report Abuse
Definites is not online. Definites
Joined: 02 Nov 2015
Total Posts: 163
17 May 2017 10:31 AM
Wait, so it will work either way?


Report Abuse
RogueMage is not online. RogueMage
Joined: 28 Jan 2012
Total Posts: 1235
17 May 2017 10:34 AM
Yep


You can store them in ServerStorage and then get the server to add the Tool/Gear to your Backpack

Or you can get the server to tell the player when to add the gear/vice versa


Tbh Server Storage is the way to go
Report Abuse
Valyrian_Advisor is not online. Valyrian_Advisor
Joined: 13 Apr 2013
Total Posts: 1703
17 May 2017 10:35 AM
Storage is accessible form server only.
Replicated Storage is accessible from both server and client.
Both will work if you use a serverscript.
Report Abuse
AIicks is not online. AIicks
Joined: 10 Apr 2012
Total Posts: 788
17 May 2017 10:41 AM
PF -probably- stores all the detailed versions of the guns on ServerStorage and then all the undetailed versions of the guns on ReplicatedStorage. Then Clones across detailed guns onto the client here and there but idk
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