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
 

Data Store Help

Previous Thread :: Next Thread 
vertfire is not online. vertfire
Joined: 30 Mar 2014
Total Posts: 88
08 Sep 2016 05:53 PM
Well, I'm a noob at data stores and I am wondering how to make a item you can only collect once using datastores?



Report Abuse
WildGuest is not online. WildGuest
Joined: 28 Feb 2010
Total Posts: 647
08 Sep 2016 06:20 PM
Step 1: Put a BoolValue in the player when they join. Keep it false to start with. When they pick up the item, make the value true. Have the item check if it is already set to true before they pick up.

Step 2: Save it in a datastore.

I would write the script but it would be a lot of work.


Report Abuse
Flashiness is not online. Flashiness
Joined: 25 Dec 2012
Total Posts: 1212
08 Sep 2016 06:50 PM
#####################################################################################################################################################################################################################################################################################################################################################################################################################################################
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
08 Sep 2016 06:55 PM
https://forum.roblox.com/Forum/ShowPost.aspx?PostID=195621950
Report Abuse
Skelris is not online. Skelris
Joined: 02 Jan 2009
Total Posts: 4785
08 Sep 2016 07:19 PM
[REDACTED]
Report Abuse
Skelris is not online. Skelris
Joined: 02 Jan 2009
Total Posts: 4785
08 Sep 2016 07:25 PM
Since my last post got '[REDACTED]', due to the filter being silly, take a copy of this and look at it:

https://www.roblox.com/item.aspx?id=498730501


Note that it isn't very good in terms of efficiency, as it only serves the purpose of providing an example of how DataStores work to you. (It also isn't tested, so sorry if it doesn't work)

You should know this if you look at it, but you need two parts in the workspace: One named "Coin1" and another named "Coin2" if you wanna test it.
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