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: /

Previous Thread :: Next Thread 
Seranok is not online. Seranok
Joined: 12 Dec 2009
Total Posts: 11083
26 Jan 2013 07:02 PM
What this plugin does is allow you to generate scripts to recreate an instance and its descendants. Simply select an instance in Explorer and click the "Serialize" button, and a script will be created which recreates the selected instance and its descendants.

Here is the source: http://t.co/YIhjgHZD

I have been working on it for quite a while so I would appreciate some feedback, positive or negative.

Notes:
- it does not serialize properties like Script.Source because Scripts cannot set that property
- it only serializes classes which can be instantiated with Instance.new
- the generated script errors if there are more than 200 instances being serialized. This is easy to fix
Report Abuse
ArceusInator is not online. ArceusInator
Joined: 10 Oct 2009
Total Posts: 30553
26 Jan 2013 07:03 PM
What could we use this for?
Report Abuse
Garnished is not online. Garnished
Joined: 09 Apr 2012
Total Posts: 12695
26 Jan 2013 07:06 PM
I put it in my plugins folder and it will not run.
Report Abuse
Seranok is not online. Seranok
Joined: 12 Dec 2009
Total Posts: 11083
26 Jan 2013 07:07 PM
It is mainly useful when
* you don't want to have an object in the object hierarchy but you want to be able to create it anytime
* you are dealing with GUIs and don't want to have to do a bunch of WaitForChild hacks
Report Abuse
Seranok is not online. Seranok
Joined: 12 Dec 2009
Total Posts: 11083
26 Jan 2013 07:08 PM
@Garnished

You must put it inside a folder which is inside the roblox plugins folder.
Report Abuse
Garnished is not online. Garnished
Joined: 09 Apr 2012
Total Posts: 12695
26 Jan 2013 07:10 PM
That's what I did.
Report Abuse
Seranok is not online. Seranok
Joined: 12 Dec 2009
Total Posts: 11083
26 Jan 2013 07:10 PM
"it will not run"

Explain. You mean it errors? You mean the button doesn't show up under your plugins toolbar?
Report Abuse
IamAwesome777 is not online. IamAwesome777
Joined: 18 Jul 2011
Total Posts: 2640
26 Jan 2013 07:11 PM
I made the same thing last week. Took me like 20 minutes.

--
I am on a seafood diet. I see food, and I eat it.
Report Abuse
Garnished is not online. Garnished
Joined: 09 Apr 2012
Total Posts: 12695
26 Jan 2013 07:14 PM
It doesn't change it and it just errors on the output.
Report Abuse
Seranok is not online. Seranok
Joined: 12 Dec 2009
Total Posts: 11083
26 Jan 2013 07:17 PM
@IAm

Your solution doesn't look very robust.

@Garnished

Well, what does the error message say?
Report Abuse
Garnished is not online. Garnished
Joined: 09 Apr 2012
Total Posts: 12695
26 Jan 2013 07:21 PM
Studio doesn't allow copy and paste on mac
Report Abuse
Seranok is not online. Seranok
Joined: 12 Dec 2009
Total Posts: 11083
26 Jan 2013 07:23 PM
Use your memory or write the error message down on paper, and then type it up.
Report Abuse
AbsoluteLOL is not online. AbsoluteLOL
Joined: 01 Dec 2012
Total Posts: 3939
26 Jan 2013 07:23 PM
So I could use this to "compress" my Admin GUI into a single script? Just to construct it, I mean.

<< AʙsᴏʟᴜᴛᴇLOL - Fᴏʀsᴀᴋᴇɴ Pʀɪᴍᴇ Gᴇɴᴇʀᴀʟ ​>>
Report Abuse
Seranok is not online. Seranok
Joined: 12 Dec 2009
Total Posts: 11083
26 Jan 2013 07:25 PM
Yes. At this point I would suggest checking the generated code to make sure it's correct though.
Report Abuse
Garnished is not online. Garnished
Joined: 09 Apr 2012
Total Posts: 12695
26 Jan 2013 07:25 PM
Error: cannot find plugins folder
Report Abuse
Seranok is not online. Seranok
Joined: 12 Dec 2009
Total Posts: 11083
26 Jan 2013 07:27 PM
Go to Tools > Open Plugins Folder to make sure the plugin is in that folder.
Report Abuse
ColorfulBody is not online. ColorfulBody
Joined: 17 Jun 2012
Total Posts: 2353
26 Jan 2013 07:36 PM
Code written manually usually looks much better and is much more readable than code automatically generated.

I also find it easier to create GUIs in code than to create them with the studio.
Report Abuse
kirkyturky12 is not online. kirkyturky12
Joined: 30 Apr 2010
Total Posts: 1915
26 Jan 2013 07:40 PM
I might one of these a while back. Not too hard to do.
Report Abuse
Seranok is not online. Seranok
Joined: 12 Dec 2009
Total Posts: 11083
26 Jan 2013 07:41 PM
> Code written manually usually looks much better and is much more readable than code automatically generated.

Have you even tried my plugin?
Report Abuse
kirkyturky12 is not online. kirkyturky12
Joined: 30 Apr 2010
Total Posts: 1915
26 Jan 2013 07:41 PM
made*
Report Abuse
Seranok is not online. Seranok
Joined: 12 Dec 2009
Total Posts: 11083
26 Jan 2013 07:50 PM
@kirky

I used your plugin on ROBLOX's bus and here is the output:

Bus = Instance.new("Script")
      Bus.Name = "Bus"
      Bus.Parent = game.Workspace
Report Abuse
RyanDolan123 is not online. RyanDolan123
Joined: 05 Mar 2009
Total Posts: 17919
26 Jan 2013 07:52 PM
y u no use type()
Report Abuse
RyanDolan123 is not online. RyanDolan123
Joined: 05 Mar 2009
Total Posts: 17919
26 Jan 2013 07:53 PM
Actually nevermind, type() can only identify certain things.
Report Abuse
Seranok is not online. Seranok
Joined: 12 Dec 2009
Total Posts: 11083
26 Jan 2013 07:53 PM
I did use the type function. What makes you think I didn't?
Report Abuse
RyanDolan123 is not online. RyanDolan123
Joined: 05 Mar 2009
Total Posts: 17919
26 Jan 2013 07:55 PM
Sorry I just looked through the code and found it. lol.
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