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 » Club Houses » Let's Make a Deal
Home Search
 

Re: @webgl3d i have a lua challenge for you

Previous Thread :: Next Thread 
TheAltOfDavid14 is not online. TheAltOfDavid14
Joined: 05 Feb 2014
Total Posts: 222
23 Sep 2014 06:07 PM
design a function that works exactly like :GetChildren()

without using :GetChildren()



-ForeverDev
Report Abuse
TheAltOfDavid14 is not online. TheAltOfDavid14
Joined: 05 Feb 2014
Total Posts: 222
23 Sep 2014 06:07 PM
idek if it's possible



-ForeverDev
Report Abuse
TheAltOfDavid14 is not online. TheAltOfDavid14
Joined: 05 Feb 2014
Total Posts: 222
23 Sep 2014 06:08 PM




-ForeverDev
Report Abuse
Maxxell is not online. Maxxell
Joined: 25 Aug 2009
Total Posts: 38710
23 Sep 2014 06:09 PM
why would you make a new function that does the same thing as :GetChildren() when you can just use :GetChildren()
Report Abuse
TheAltOfDavid14 is not online. TheAltOfDavid14
Joined: 05 Feb 2014
Total Posts: 222
23 Sep 2014 06:09 PM
@max

i'd always use :GetChildren()

but it's fun to try to design something challenging



-ForeverDev
Report Abuse
DoubleMcPwnage is not online. DoubleMcPwnage
Joined: 21 Apr 2013
Total Posts: 889
23 Sep 2014 06:09 PM
:GetChildren() would be VERY useful irl for my "needs"
Report Abuse
TheAltOfDavid14 is not online. TheAltOfDavid14
Joined: 05 Feb 2014
Total Posts: 222
23 Sep 2014 06:11 PM
what



-ForeverDev
Report Abuse
USAdude104 is not online. USAdude104
Joined: 07 Nov 2010
Total Posts: 31443
23 Sep 2014 06:11 PM
hold on let me get my gff
Report Abuse
Maxxell is not online. Maxxell
Joined: 25 Aug 2009
Total Posts: 38710
23 Sep 2014 06:12 PM
but if there's no purpose it's a waste of time, you'd be better off making something useful even if it's like script.music:play()
Report Abuse
TheAltOfDavid14 is not online. TheAltOfDavid14
Joined: 05 Feb 2014
Total Posts: 222
23 Sep 2014 06:17 PM
i make useless stuff all the time

it's how i get better at scripting

for example i learned how to apply metatables to a table of players, so i can manipulate all the players in the game by simply doing

players("kill")
players("teleport", Vector3.new(0, 500, 0))
players("attachEvent", "died", function(player) print(player.Name .. " died!") end)
--the last one would print 'player's name died!" if any player died



-ForeverDev
Report Abuse
WebGL3D is online. WebGL3D
Joined: 04 Sep 2013
Total Posts: 28311
23 Sep 2014 06:19 PM
Umm... not possible unless you have a script in every child

But I am working on this thing called RoQuery, and it will let you do things like

RQ(Workspace).find(_,"wedge",true).color("red") --> Colors every WedgePart in Workspace red, including wedges in descendants

Will be releasing within the next couple weeks


~ 1Topcop ~ WebGL3D ~ Java3D ~ Data3D
Report Abuse
TheAltOfDavid14 is not online. TheAltOfDavid14
Joined: 05 Feb 2014
Total Posts: 222
23 Sep 2014 06:22 PM
dang

u just inspired me

im gonna make something like that (yours will probably be better but whatever)



-ForeverDev
Report Abuse
WebGL3D is online. WebGL3D
Joined: 04 Sep 2013
Total Posts: 28311
23 Sep 2014 06:46 PM
Nu nu nu make something else please xp
I want mine to be thee RoQuery, not a version of it.


~ 1Topcop ~ WebGL3D ~ Java3D ~ Data3D
Report Abuse
TheAltOfDavid14 is not online. TheAltOfDavid14
Joined: 05 Feb 2014
Total Posts: 222
23 Sep 2014 06:51 PM
ok fine

but i have a question

how can u use periods to call functions

when u were using ur RQ, you were doing this

RQ(Workspace)(PERIOD)find(blah blah)

how can you do that?



-ForeverDev
Report Abuse
DX5555555v is not online. DX5555555v
Joined: 11 Dec 2013
Total Posts: 28977
23 Sep 2014 06:53 PM
make a script that uninfects my game when I free model.
Report Abuse
Wolfbain2315 is not online. Wolfbain2315
Joined: 16 Aug 2011
Total Posts: 47619
23 Sep 2014 06:53 PM
wrong forum
Report Abuse
WebGL3D is online. WebGL3D
Joined: 04 Sep 2013
Total Posts: 28311
23 Sep 2014 06:53 PM
picture something like this

function a()return{b=function()return{c=function()end}end}end

a().b().c()

The return tables, and the tables have functions in them


~ 1Topcop ~ WebGL3D ~ Java3D ~ Data3D
Report Abuse
WebGL3D is online. WebGL3D
Joined: 04 Sep 2013
Total Posts: 28311
23 Sep 2014 06:54 PM
@DX I already did, it's on 1Topcop
and it's copylocked, and I can't uncopylock it
blame john


~ 1Topcop ~ WebGL3D ~ Java3D ~ Data3D
Report Abuse
SoftShellTurtle is not online. SoftShellTurtle
Joined: 28 Jan 2012
Total Posts: 10932
23 Sep 2014 06:55 PM
No i blame WebGL3D
Report Abuse
TheAltOfDavid14 is not online. TheAltOfDavid14
Joined: 05 Feb 2014
Total Posts: 222
23 Sep 2014 06:55 PM
im kinda confused



-ForeverDev
Report Abuse
DX5555555v is not online. DX5555555v
Joined: 11 Dec 2013
Total Posts: 28977
23 Sep 2014 06:56 PM
make a new one okay


I (not really me but I am blamed) for infecting the game constantly so I have to go back and rename everything in the workspace and delete all the infection scripts manually.
Report Abuse
WebGL3D is online. WebGL3D
Joined: 04 Sep 2013
Total Posts: 28311
23 Sep 2014 06:57 PM
k so here we have a function called 'a'

function a()
return{
b = function()
end
}
end


a returns a table
inside the table a returns is a function, under the index of b

so imagine this:

x = a()
-- x is now equal to the table a returns

x.b() -- b is a function inside the table 'x'


less confused? ;p


~ 1Topcop ~ WebGL3D ~ Java3D ~ Data3D
Report Abuse
DoubleMcPwnage is not online. DoubleMcPwnage
Joined: 21 Apr 2013
Total Posts: 889
23 Sep 2014 07:01 PM
fml I pretty much understand table, the letter a and the letter x
Report Abuse
TheAltOfDavid14 is not online. TheAltOfDavid14
Joined: 05 Feb 2014
Total Posts: 222
23 Sep 2014 07:01 PM
i get what you mean, but when you stack multiple functions ontop of each other (.a().b()) it errors

function x()
return {
a = function() print("hi") end,
b = function() print("bye") end
}
end

local y = x()
y.a().b()

calling y.a() works, but calling y.a().b() doesn't work because y.a() doesn't return the functions



-ForeverDev
Report Abuse
verbalAKspray is not online. verbalAKspray
Joined: 09 Jul 2014
Total Posts: 23685
23 Sep 2014 07:02 PM
dx, what viruses do u have

http://www.roblox.com/antivirus-item?id=165888421

i can edit those to work for ur specific virus

none of those r by me tho
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Club Houses » Let's Make a Deal
   
 
   
  • 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