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: code in instances

Previous Thread :: Next Thread 
gtd345 is not online. gtd345
Joined: 25 Aug 2009
Total Posts: 210
17 Jul 2011 10:46 PM
can you place a script as an instnce, and control what is in it? if so how, if it's impossible, then how can you make a new instance have code in it?
Report Abuse
gtd345 is not online. gtd345
Joined: 25 Aug 2009
Total Posts: 210
17 Jul 2011 10:55 PM
anyone?
Report Abuse
gtd345 is not online. gtd345
Joined: 25 Aug 2009
Total Posts: 210
17 Jul 2011 11:02 PM
no?
Report Abuse
Ickwad is not online. Ickwad
Joined: 14 Jun 2011
Total Posts: 147
17 Jul 2011 11:04 PM
You mean.. Source?
Report Abuse
gtd345 is not online. gtd345
Joined: 25 Aug 2009
Total Posts: 210
17 Jul 2011 11:17 PM
? Question Mark ?
Report Abuse
ElectricAxel is not online. ElectricAxel
Joined: 15 May 2009
Total Posts: 16239
17 Jul 2011 11:20 PM
custom = newproxy(true)?
Report Abuse
gtd345 is not online. gtd345
Joined: 25 Aug 2009
Total Posts: 210
17 Jul 2011 11:21 PM
ellaborate.
Report Abuse
ElectricAxel is not online. ElectricAxel
Joined: 15 May 2009
Total Posts: 16239
17 Jul 2011 11:22 PM
type(Object) --> Userdata

type(newproxy(true)) --> Userdata

You have created your own object. Now learn metatables and you'll dominate roblox. o:
Report Abuse
gtd345 is not online. gtd345
Joined: 25 Aug 2009
Total Posts: 210
17 Jul 2011 11:24 PM
uh, please xplain how that works. i have no idea how the heck that works.........
Report Abuse
ElectricAxel is not online. ElectricAxel
Joined: 15 May 2009
Total Posts: 16239
17 Jul 2011 11:29 PM
Check the lua documentation. o: I told you all you need, newproxy(true) and metatables.
Report Abuse
gtd345 is not online. gtd345
Joined: 25 Aug 2009
Total Posts: 210
17 Jul 2011 11:31 PM
oka6y, thanks alot in advance
Report Abuse
gtd345 is not online. gtd345
Joined: 25 Aug 2009
Total Posts: 210
17 Jul 2011 11:36 PM
all right, metatables are WAY too advanced for me, but thanks for trying. all i really want to do is put a script in a part made by a script. if that's impossible without metatables, i kinda give up on lua.......... D:
Report Abuse
kdawg833 is not online. kdawg833
Joined: 22 Feb 2010
Total Posts: 950
17 Jul 2011 11:57 PM
Wow, i plan on checking out these metatables, never heard of em
Report Abuse
kdawg833 is not online. kdawg833
Joined: 22 Feb 2010
Total Posts: 950
17 Jul 2011 11:58 PM
why not just clone a previously made script?
Report Abuse
ElectricAxel is not online. ElectricAxel
Joined: 15 May 2009
Total Posts: 16239
18 Jul 2011 12:02 AM
Eh, just keep learning, metatables are just hard when you start on them, but they get much easier ...
Report Abuse
gtd345 is not online. gtd345
Joined: 25 Aug 2009
Total Posts: 210
18 Jul 2011 01:47 PM
one thing. how can i keep learning? it's like one second i want to know something simple, then the next second it turns out to be far more advanced than i could ever hope to learn. that's why i kind of want to stop trying, 'cause i'll just fail, and i have to face the fact i can't learn to script without a real teacher. so yeah. i give up.
Report Abuse
ElectricAxel is not online. ElectricAxel
Joined: 15 May 2009
Total Posts: 16239
18 Jul 2011 06:26 PM
... -.- Think of what roblox would be if all scripters and programmers thought that way ... Think of technology in general, in science too. You just have to keep trying, even though they might be easy, everything will look hard at first, since you are just starting, and the first language one learns is always the hardest.
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