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: Would this work?

Previous Thread :: Next Thread 
4erfourer is not online. 4erfourer
Joined: 12 Jan 2008
Total Posts: 10841
01 Nov 2013 09:43 PM
private function Bad()
{
break;
}

Report Abuse
4erfourer is not online. 4erfourer
Joined: 12 Jan 2008
Total Posts: 10841
01 Nov 2013 09:45 PM
Also:

Object StarWars(int episode){
if(episode ==6)

return Jedi;
}
Report Abuse
DaMrNelson is not online. DaMrNelson
Joined: 27 Jul 2009
Total Posts: 4405
01 Nov 2013 09:46 PM
Nope... Lua is a lot simpler than other languages. It does not require semi-colons or type declarations. Here's a quite example:

function derp(argument)
print(arguments)
end

derp("Hello World!")

Here's a great resource to get started on Lua (just scan through it, you shouldn't need to read it all): http://wiki.roblox.com/index.php/Absolute_beginner%27s_guide_to_scripting

Wiki Profile: http://wiki.roblox.com/index.php/User:Nelson
Report Abuse
janthran is not online. janthran
Joined: 15 May 2009
Total Posts: 17429
01 Nov 2013 09:46 PM
I don't think so
Either you're really bad at scripting or really good because I have no idea what you're doing
Report Abuse
PRESTIGIOUSaLEGEND is not online. PRESTIGIOUSaLEGEND
Joined: 16 Apr 2011
Total Posts: 1765
01 Nov 2013 09:46 PM
was the name change worth 1k billy ;)
Report Abuse
DaMrNelson is not online. DaMrNelson
Joined: 27 Jul 2009
Total Posts: 4405
01 Nov 2013 09:46 PM
Oh I forgot to mention, Lua is also not object-orientated.

Wiki Profile: http://wiki.roblox.com/index.php/User:Nelson
Report Abuse
DaMrNelson is not online. DaMrNelson
Joined: 27 Jul 2009
Total Posts: 4405
01 Nov 2013 09:47 PM
@janthran
I think he's just coming from using a program language like Java or something.

@PRESTIGIOUSaLEGEND
Yup, I've hated that name for a long time.

Wiki Profile: http://wiki.roblox.com/index.php/User:Nelson
Report Abuse
janthran is not online. janthran
Joined: 15 May 2009
Total Posts: 17429
01 Nov 2013 09:48 PM
I think your namechange was worth it
Report Abuse
4erfourer is not online. 4erfourer
Joined: 12 Jan 2008
Total Posts: 10841
01 Nov 2013 09:49 PM
References have not been understood...
-----------------------
private function Bad()
{
break;
}

---------------
function Bad()

break

----------------

Bad
break

------------

breaking bad
Report Abuse
DaMrNelson is not online. DaMrNelson
Joined: 27 Jul 2009
Total Posts: 4405
01 Nov 2013 09:50 PM
Oh sweet Jesus

Wiki Profile: http://wiki.roblox.com/index.php/User:Nelson
Report Abuse
4erfourer is not online. 4erfourer
Joined: 12 Jan 2008
Total Posts: 10841
01 Nov 2013 09:50 PM
Sorry I didn't realize how serious this forum is. :P
Report Abuse
DaMrNelson is not online. DaMrNelson
Joined: 27 Jul 2009
Total Posts: 4405
01 Nov 2013 09:51 PM
Naw, that was a sarcastic "Oh sweet Jesus"... that was actually pretty good XD
Anyways, do you need some help, or just wanted to make a joke?

Wiki Profile: http://wiki.roblox.com/index.php/User:Nelson
Report Abuse
janthran is not online. janthran
Joined: 15 May 2009
Total Posts: 17429
01 Nov 2013 09:51 PM
break isn't a thing
Report Abuse
DaMrNelson is not online. DaMrNelson
Joined: 27 Jul 2009
Total Posts: 4405
01 Nov 2013 09:52 PM
@janthran
Yes it is. For example:

while (wait()) do
break
end

print("Wat")

The break will get your out of the loop, instantly printing "Wat"

Wiki Profile: http://wiki.roblox.com/index.php/User:Nelson
Report Abuse
4erfourer is not online. 4erfourer
Joined: 12 Jan 2008
Total Posts: 10841
01 Nov 2013 09:52 PM
I was just trying to get a joke across. Sorry about wasting your time :/
Report Abuse
DaMrNelson is not online. DaMrNelson
Joined: 27 Jul 2009
Total Posts: 4405
01 Nov 2013 09:53 PM
@4erfourer
It's no problem lol

Wiki Profile: http://wiki.roblox.com/index.php/User:Nelson
Report Abuse
4erfourer is not online. 4erfourer
Joined: 12 Jan 2008
Total Posts: 10841
01 Nov 2013 09:54 PM
cout << "Say my name.";
getline(cin, name);
if(name == "Heisenberg"){
you.status = GOD_DAM_RIGHT;
}
Report Abuse
DaMrNelson is not online. DaMrNelson
Joined: 27 Jul 2009
Total Posts: 4405
01 Nov 2013 09:56 PM
well u c... dats nice

Not "Well, you see... that's nice"
But "Well, you C (as in the programming language)... that's nice"

Yeah...
heh.....

Wiki Profile: http://wiki.roblox.com/index.php/User:Nelson
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