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: Does ROBLOX use LUA 5.1?

Previous Thread :: Next Thread 
Riffy29 is not online. Riffy29
Joined: 10 Jan 2010
Total Posts: 2562
21 Apr 2014 11:15 AM
?
Report Abuse
ajmhm1111 is not online. ajmhm1111
Joined: 22 Jun 2013
Total Posts: 164
21 Apr 2014 11:16 AM
Hello,

print(_VERSION) -->Lua 5.1

Yep

--ajmhm1111
Report Abuse
ForeverDev is not online. ForeverDev
Joined: 04 Oct 2008
Total Posts: 13300
21 Apr 2014 11:29 AM
I wish ROBLOX would update to 5.2..... 5.2 has the new 'goto' function, which is really helpful. For example:

::information::
print("My name is ForeverDev!")
print("I joined ROBLOX in 2008!")

goto information <--goes to the ::information:: line
Report Abuse
Cogitate is not online. Cogitate
Joined: 04 Jun 2011
Total Posts: 14087
21 Apr 2014 11:30 AM
yeah
Report Abuse
Kingmouli is not online. Kingmouli
Joined: 28 Sep 2012
Total Posts: 1292
21 Apr 2014 11:31 AM
What will it do when it'll go to the ::information:: line? Will it just repeat? Why not a while loop
Report Abuse
ForeverDev is not online. ForeverDev
Joined: 04 Oct 2008
Total Posts: 13300
21 Apr 2014 11:33 AM
@King

goto is good for repeating things without using functions. You can repeat lines easily even when you don't want to put those lines in a function.
Report Abuse
Kingmouli is not online. Kingmouli
Joined: 28 Sep 2012
Total Posts: 1292
21 Apr 2014 11:40 AM
So..

::info::
print("Lol")
goto ::info::

..will print Lol, read the goto line, go back to ::info::, print Lol, read the goto line, go back to ::info::...

In what way will it be better than a while loop?
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
21 Apr 2014 11:42 AM
goto is so inefficient qq
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