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: How to not make things in the backpack reset after death?

Previous Thread :: Next Thread 
fireflame09225 is not online. fireflame09225
Joined: 04 Jan 2010
Total Posts: 1818
17 Dec 2016 11:08 PM
I've got some folders stored in the player's backpack that contain scripts that need to be run but every time a player dies the folders are gone (obviously)...is there a way to fix this?
Report Abuse
xInitiated_Inspire is not online. xInitiated_Inspire
Joined: 17 Jul 2014
Total Posts: 1276
17 Dec 2016 11:09 PM
Place in starterpack
Report Abuse
fireflame09225 is not online. fireflame09225
Joined: 04 Jan 2010
Total Posts: 1818
17 Dec 2016 11:11 PM
But the stuff inside the folders changes all the time. They're quests and they're always being updated...is it plausible to change everything in the startpack via a script to do this?
Report Abuse
xInitiated_Inspire is not online. xInitiated_Inspire
Joined: 17 Jul 2014
Total Posts: 1276
17 Dec 2016 11:14 PM
Are they tools? If it's tools, they should be not grouped, let alone their own group, like Knife.handle.weld and stuff.
Report Abuse
fireflame09225 is not online. fireflame09225
Joined: 04 Jan 2010
Total Posts: 1818
17 Dec 2016 11:15 PM
No, it's actually a collection of Values (A stringvalue, boolvalue, a couple intvalues) that make up information about a quest. Basically I use it to hold information on quests that the player is currently doing, and quests the player has already completed.
Report Abuse
xInitiated_Inspire is not online. xInitiated_Inspire
Joined: 17 Jul 2014
Total Posts: 1276
17 Dec 2016 11:20 PM
try

local copy = game.Workspace.Tool:Clone()
copy.Parent = game.Players:[Name].Backpack

Try PlayerAdded if it you want it to everyone
Report Abuse
fireflame09225 is not online. fireflame09225
Joined: 04 Jan 2010
Total Posts: 1818
17 Dec 2016 11:25 PM
I don't think you understand the situation lol. They're not tools, they're quests that are always changing. If someone kills 2/10 of the creatures, then dies, I need it to be able to stay as 2/10, but instead everything is deleted from the backpack.
Report Abuse
xInitiated_Inspire is not online. xInitiated_Inspire
Joined: 17 Jul 2014
Total Posts: 1276
17 Dec 2016 11:28 PM
Which backpack are you referring to?
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
17 Dec 2016 11:46 PM
store the stuff in the player instead of backpack if you dont want it to change. anyways you should be using datastores and saving the data on the server then loading the databack in if they reset @OP


Report Abuse
fireflame09225 is not online. fireflame09225
Joined: 04 Jan 2010
Total Posts: 1818
18 Dec 2016 07:59 AM
I can't store it in the player because there are scripts in them that need to be run.

And I think I will look into datastores, thanks.
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