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: Saving backpack order upon death...

Previous Thread :: Next Thread 
TheAwesomenessDude is not online. TheAwesomenessDude
Joined: 17 Jul 2011
Total Posts: 11602
21 Apr 2012 12:50 PM
How can I make this script save the order upon death too?

game.Players.PlayerRemoving:connect(function(player)
player:WaitForDataReady()
local stuff = player:SaveInstance("Gear", player.Backpack)
end)



game.Players.PlayerAdded:connect(function(player)
player:WaitForDataReady()

local st00f = player:LoadInstance("Gear")

local insides = st00f:GetChildren()

for k,z in pairs(insides) do
z:Clone().Parent = player.StarterGear
z.Parent = player.Backpack
end
end)
Report Abuse
trappingnoobs is not online. trappingnoobs
Joined: 05 Oct 2008
Total Posts: 19100
21 Apr 2012 02:52 PM
We're not here to make your code for you. We'll answer questions about it (Although basic stuff belongs in scripting helpers) but only if you wrote it, and you obviously didn't write this, and providing the question doesn't result in us giving you code (Other than if it's to explain something)
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