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 » Game Design
Home Search
 

Re: Was anyone else aware of this?

Previous Thread :: Next Thread 
ScriptOn is not online. ScriptOn
Joined: 22 Aug 2010
Total Posts: 10885
11 Jun 2013 10:18 PM
I've known this for a while but I think its cool for script shortness:

rando = math.random(1,10) if rando == 1 then

You can literally put an entire scirpt in one line, and have it work. I figured this out like 5 years ago at a script builder.
Report Abuse
iwantpsp is not online. iwantpsp
Joined: 07 Sep 2010
Total Posts: 14291
11 Jun 2013 10:19 PM
Joined in 2010...
5 years ago...
seems legit.
Report Abuse
geoglory is not online. geoglory
Joined: 02 Apr 2013
Total Posts: 1718
11 Jun 2013 10:20 PM
legit

~tiny plant head~
Report Abuse
ScriptOn is not online. ScriptOn
Joined: 22 Aug 2010
Total Posts: 10885
11 Jun 2013 10:22 PM
@psp, I have a 2008 account, which actually means with months, I've got 6 years on here.
Report Abuse
iwantpsp is not online. iwantpsp
Joined: 07 Sep 2010
Total Posts: 14291
11 Jun 2013 10:26 PM
Oh.
Report Abuse
Robloxianpilotknight is not online. Robloxianpilotknight
Joined: 29 Dec 2009
Total Posts: 7739
12 Jun 2013 12:49 AM
I figured it out, but it just seems to messy for me to use. Also, there is one slight problem.
*Writes a very lengthy code that is very complex, and manage to put it all on one line.*
*Does not work.*
*Checks output.*
Me: Oh for crying out loud...
Report Abuse
ScriptOn is not online. ScriptOn
Joined: 22 Aug 2010
Total Posts: 10885
12 Jun 2013 10:14 AM
l0l
Report Abuse
thedestroyer115 is not online. thedestroyer115
Joined: 19 Dec 2010
Total Posts: 11546
12 Jun 2013 10:29 AM
You are just now learning this, and your name is something related to scripting? Disgrace!
Report Abuse
ScriptOn is not online. ScriptOn
Joined: 22 Aug 2010
Total Posts: 10885
12 Jun 2013 10:30 AM
Where does it say I just learned this?
Report Abuse
thedestroyer115 is not online. thedestroyer115
Joined: 19 Dec 2010
Total Posts: 11546
12 Jun 2013 10:38 AM
Even then, why are you posting about this? One liners do not promote anything but uncleanliness?
Report Abuse
thedestroyer115 is not online. thedestroyer115
Joined: 19 Dec 2010
Total Posts: 11546
12 Jun 2013 10:39 AM
This is game design, not basic scripting discussion.
Report Abuse
ScriptOn is not online. ScriptOn
Joined: 22 Aug 2010
Total Posts: 10885
12 Jun 2013 10:41 AM
This is not basic at all, it removes a level of compaction that the script does. If you don't believe me, put a long script into one line, it will run faster.
Report Abuse
thedestroyer115 is not online. thedestroyer115
Joined: 19 Dec 2010
Total Posts: 11546
12 Jun 2013 10:45 AM
You and I must have different definitions of basic.
Report Abuse
ScriptOn is not online. ScriptOn
Joined: 22 Aug 2010
Total Posts: 10885
12 Jun 2013 01:51 PM
For me, basic = (x+1)

For you, your levels of basic and such must be shifted due to join dates, which I can understand.
Report Abuse
thedestroyer115 is not online. thedestroyer115
Joined: 19 Dec 2010
Total Posts: 11546
12 Jun 2013 02:32 PM
That's math, not Lua...?
Report Abuse
ScriptOn is not online. ScriptOn
Joined: 22 Aug 2010
Total Posts: 10885
12 Jun 2013 02:36 PM
All lua is, all coding is, is just creating and changing values, which is what math is.
Report Abuse
thedestroyer115 is not online. thedestroyer115
Joined: 19 Dec 2010
Total Posts: 11546
12 Jun 2013 02:56 PM
@scripton
We're discussing syntax...?
Report Abuse
Zulsoras is not online. Zulsoras
Joined: 10 Sep 2008
Total Posts: 963
12 Jun 2013 03:49 PM
Found it out five years ago :)
2008 + 5 = 2013
Report Abuse
ninjasheep is not online. ninjasheep
Joined: 26 Apr 2008
Total Posts: 11934
12 Jun 2013 03:53 PM
"For you, your levels of basic and such must be shifted due to join dates, which I can understand."

Was that a condescending remark about join dates? Because Game Design will have no part of that. Even for me, that line was basic, and I'm an awful scripter.

Point is, don't judge knowledge base on join dates. They're meaningless in an argument.
Report Abuse
thedestroyer115 is not online. thedestroyer115
Joined: 19 Dec 2010
Total Posts: 11546
12 Jun 2013 04:31 PM
^ This.
Report Abuse
ScriptOn is not online. ScriptOn
Joined: 22 Aug 2010
Total Posts: 10885
12 Jun 2013 04:41 PM
Obviously you haven't been scripting since you haven't heard about cancelled functions and abilities.
Report Abuse
ninjasheep is not online. ninjasheep
Joined: 26 Apr 2008
Total Posts: 11934
12 Jun 2013 04:49 PM
You have no right to make claims on the skill level of anyone on this forum. Game Design is a mature forum, where we treat (mostly) everyone with some form of respect.

Destroyer knows more about scripting than most people (including myself). I don't care how long you've apparently been on ROBLOX, you should still value the skill sets of others, even if they are, in your view or opinion, at a lower skill level than you.

Now with that, go to a scripting forum. This is not relevant to the concept or purpose of Game Design, and if you disagree, please find the rule saying that we share efficient lines of code.
Report Abuse
thedestroyer115 is not online. thedestroyer115
Joined: 19 Dec 2010
Total Posts: 11546
12 Jun 2013 04:51 PM
"Obviously you haven't been scripting since you haven't heard about cancelled functions and abilities."

I need not say a word.
Report Abuse
ScriptOn is not online. ScriptOn
Joined: 22 Aug 2010
Total Posts: 10885
12 Jun 2013 04:55 PM
@the, thanks for backing down.

@that other guy, this actually got moved by the genius mods.


And I never assume anyone is of a lower or higher scale than me in anything. I just scale to relativity, so that I`m not directly saying I can script better than someone.
Report Abuse
thedestroyer115 is not online. thedestroyer115
Joined: 19 Dec 2010
Total Posts: 11546
12 Jun 2013 04:57 PM
What did you mean by your statement, scripton?
Are you questioning my ability to understand the useful functions that ROBLOX has locked for no absolute reason? I do son, I do.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Design
   
 
   
  • 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