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 everything in PlayerGui

Previous Thread :: Next Thread 
HyperProduct is not online. HyperProduct
Joined: 11 Nov 2012
Total Posts: 3362
10 Sep 2016 04:13 PM
I haven't worked much with saving, and I'm wondering how I would save/load everything inside someone's PlayerGui. I'm assuming I would use DataStore, but what would be the best way to do this?


Report Abuse
Afro_Sub is not online. Afro_Sub
Joined: 16 Jun 2013
Total Posts: 1114
10 Sep 2016 04:25 PM
Maybe you could use metatables and the main table would be the parent?

I use OOP a lot of datastore so y'know


Report Abuse
thedailyblarg is not online. thedailyblarg
Joined: 26 Feb 2012
Total Posts: 5506
10 Sep 2016 04:25 PM
why do you want to do that

just save what you need and go
Report Abuse
Julian_Orteil is not online. Julian_Orteil
Joined: 14 Aug 2012
Total Posts: 968
10 Sep 2016 04:26 PM
Clone everything to ReplicatedStorage..the rest you should know.
Report Abuse
Afro_Sub is not online. Afro_Sub
Joined: 16 Jun 2013
Total Posts: 1114
10 Sep 2016 04:27 PM
Blarg, because if you are ##### ## #### multiple objects/parents it would be very ########### to set the parent according to something else.
Report Abuse
thedailyblarg is not online. thedailyblarg
Joined: 26 Feb 2012
Total Posts: 5506
10 Sep 2016 04:27 PM
doesnt matter there is literally no reason to be saving entire guis rather than values
Report Abuse
Afro_Sub is not online. Afro_Sub
Joined: 16 Jun 2013
Total Posts: 1114
10 Sep 2016 04:28 PM
No he's talking about the object's data

So you would use OOP


Report Abuse
Julian_Orteil is not online. Julian_Orteil
Joined: 14 Aug 2012
Total Posts: 968
10 Sep 2016 04:28 PM
Or you could do what daily here, said. Up to you..his saves your game from having to load extra things..
Report Abuse
thedailyblarg is not online. thedailyblarg
Joined: 26 Feb 2012
Total Posts: 5506
10 Sep 2016 04:29 PM
1) it is not oop just because you use dictionaries, that has nothing to do with metatables
2) you can save positions of certain guis or whatever but literally what is wrong with saving the text of a textbox or something
Report Abuse
Afro_Sub is not online. Afro_Sub
Joined: 16 Jun 2013
Total Posts: 1114
10 Sep 2016 04:31 PM
No

I said use metatables so you can also store the parents


Report Abuse
thedailyblarg is not online. thedailyblarg
Joined: 26 Feb 2012
Total Posts: 5506
10 Sep 2016 04:32 PM
"use metatables"

do you even know what a metatable is you idiot, you cant even save those
Report Abuse
Afro_Sub is not online. Afro_Sub
Joined: 16 Jun 2013
Total Posts: 1114
10 Sep 2016 04:39 PM
oh wow I didn't know that

stupid roblox overpopulation and datatypes



lol let's just focus on the pretty much solved problem


Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
10 Sep 2016 04:59 PM
- - https://forum.roblox.com/Forum/ShowPost.aspx?PostID=195621950


Report Abuse
Afro_Sub is not online. Afro_Sub
Joined: 16 Jun 2013
Total Posts: 1114
10 Sep 2016 05:04 PM
OMG! Sorry I misread the question LOL.

Just use a iterate the children of the playergui


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