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 » Scripting Helpers
Home Search
 

Re: DP help please!?

Previous Thread :: Next Thread 
dave2011 is not online. dave2011
Joined: 02 Oct 2010
Total Posts: 10581
30 Sep 2012 01:34 AM
why wont this save/load (i dont know which one is erroring because it wont tell me the errors in multiplayer with roplox's output GUI...)

for _,v in pairs(p.Time:GetChildren()) do
v.Value = p:LoadNumber("time"..v.Name)
end


for _, v in pairs(p.PlayerGui.Clock.Digital:GetChildren()) do
if v.ClassName=="NumberValue" then
p:SaveNumber("time"..v.Name, v.Value)
end

the variables are correct, it just doesnt work right... (it always shows up as 0 for all of the values)
Report Abuse
veerstrong is not online. veerstrong
Joined: 23 Jun 2009
Total Posts: 2450
30 Sep 2012 02:20 AM
Well, if you don't use a pcall, then it will crash if the player enters with nothing saved from before.
Report Abuse
dave2011 is not online. dave2011
Joined: 02 Oct 2010
Total Posts: 10581
30 Sep 2012 02:39 AM
I have a p:WaitForDataReady() before that which makes the script wait forever if there is no data saved...
Report Abuse
dave2011 is not online. dave2011
Joined: 02 Oct 2010
Total Posts: 10581
30 Sep 2012 11:01 AM
bumppp
Report Abuse
Xnite515 is not online. Xnite515
Joined: 18 Feb 2011
Total Posts: 22763
30 Sep 2012 11:25 AM
Were are you saving it..
Report Abuse
dave2011 is not online. dave2011
Joined: 02 Oct 2010
Total Posts: 10581
30 Sep 2012 11:27 AM
a script in the workspace
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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