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: this wont work

Previous Thread :: Next Thread 
EliteProCraft is not online. EliteProCraft
Joined: 05 Jun 2014
Total Posts: 1468
23 Aug 2017 11:28 AM
local ds = game:GetService("DataStoreService"):GetDataStore("datastorename")

game.Players.PlayerAdded:connect(function(player)
--make the values
value.Value = ds:GetAsync("Value"..player.userId)
end

game.Players.PlayerRemoving:connect(function(player)
ds:SetAsync("Value"..player.userId,player.boolValue.Value)
end



its supposed to save bool values in a player

halp


"The LORD is my shepherd, I lack nothing." Psalm 23:1
Report Abuse
EliteProCraft is not online. EliteProCraft
Joined: 05 Jun 2014
Total Posts: 1468
23 Aug 2017 11:31 AM
pls


"The LORD is my shepherd, I lack nothing." Psalm 23:1
Report Abuse
RobuxLife is not online. RobuxLife
Joined: 19 Sep 2012
Total Posts: 13336
23 Aug 2017 11:52 AM
I saw your other thread, are you trying to save tools that are in a players backpack?


Report Abuse
EliteProCraft is not online. EliteProCraft
Joined: 05 Jun 2014
Total Posts: 1468
23 Aug 2017 12:02 PM
yes, and this script is also supposed to copy values in a script called InventoryStore and paste them into the player but that parts not working either

the bool values are called Values, and inside are diffrent things called "cookieVal" "lemonadeVal", etc. Those values become true when a player buys something from the shop

HALP PLS


"The LORD is my shepherd, I lack nothing." Psalm 23:1
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