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 » Game Design
Home Search
 

Paying 400 robux for a "backpack datastore"

Previous Thread :: Next Thread 
halo3mastermin18145 is not online. halo3mastermin18145
Joined: 12 Mar 2011
Total Posts: 256
02 Jun 2016 04:27 AM
I will be paying 400 robux for a backpack datastore. A backpack datastore is a datastore that saves a players backpack so all their weapons are not taken from them when they leave. (I don't know if there is a real name for it so I just call it "backpack datastore".


If you want slightly full payment then you will have to be bc because of the ridiculous 90% market fee which will only give you 40 robux.

If you need me to be more specific just reply to this thread.


Halo, Owner of Hydra Studios.
Report Abuse
Mr_Bloxtron is not online. Mr_Bloxtron
Joined: 30 May 2016
Total Posts: 42
02 Jun 2016 04:36 AM
So simply everything in their backpack and I'm assuming also if they have a tool out you want that aswell?


Report Abuse
halo3mastermin18145 is not online. halo3mastermin18145
Joined: 12 Mar 2011
Total Posts: 256
02 Jun 2016 04:37 AM
Exactly.


Halo, Owner of Hydra Studios.
Report Abuse
Mr_Bloxtron is not online. Mr_Bloxtron
Joined: 30 May 2016
Total Posts: 42
02 Jun 2016 04:38 AM
Do I need BC for payout?


Report Abuse
halo3mastermin18145 is not online. halo3mastermin18145
Joined: 12 Mar 2011
Total Posts: 256
02 Jun 2016 04:39 AM
If your not taking 40 robux for it then yes. It is because of ROBLOX trying to push us towards buying BC so they put a 90% market fee but I can try and pay you over time?


Halo, Owner of Hydra Studios.
Report Abuse
Mr_Bloxtron is not online. Mr_Bloxtron
Joined: 30 May 2016
Total Posts: 42
02 Jun 2016 04:40 AM
Ah ill take the 40, do you want it to give the tools back when the game starts?


Report Abuse
halo3mastermin18145 is not online. halo3mastermin18145
Joined: 12 Mar 2011
Total Posts: 256
02 Jun 2016 04:40 AM
Yes.


Halo, Owner of Hydra Studios.
Report Abuse
Mr_Bloxtron is not online. Mr_Bloxtron
Joined: 30 May 2016
Total Posts: 42
02 Jun 2016 04:52 AM
Ah I gtg, here is the code I had so far, you need to have a folder in replicatedStorage called "SaveableTools" with every tool you want to allow to be saved in it.

This goes in a regular script in workspace or ServerScriptService

local SaveTools = game:GetService("ReplicatedStorage")
local DataStore = game:GetService("DataStoreService"):GetDataStore("NameThisWhatYouWant") -- If you change it, all data will be erased

game.Players.PlayerAdded:connect(function(player)
local key = "user_" .. player.userId
if DataStore:GetAsync(key) then
for _, Tool in pairs (DataStore:GetAsync(key)) do
for _, SaveTool in pairs (SaveTools:GetChildren()) do
if Tool.Name == SaveTool.Name then
SaveTool:Clone().Parent = player:WaitForChild("Backpack")
end
end
end
else
DataStore:SetAsync(key, {})
end
end)

game.Players.PlayerRemoving:connect(function(player)
local toolsToSave = {}
local key = "user_" .. player.userId
for _, v in pairs (player.Backpack:GetChildren()) do
table.insert(toolsToSave, v.Name)
end
for _, t in pairs (player.Character:GetChildren()) do
if t:IsA "Tool" then
table.insert(toolsToSave, t.Name)
end
end
DataStore:SetAsync(key, toolsToSave)
end)


Report Abuse
halo3mastermin18145 is not online. halo3mastermin18145
Joined: 12 Mar 2011
Total Posts: 256
02 Jun 2016 05:30 AM
Thanks! Can you join this group so I can pay you :) https://www.roblox.com/My/Groups.aspx?gid=2680406


Halo, Owner of Hydra Studios.
Report Abuse
Mr_Bloxtron is not online. Mr_Bloxtron
Joined: 30 May 2016
Total Posts: 42
02 Jun 2016 03:26 PM
Wait it worked? I joined.


Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Design
   
 
   
  • 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