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: speaking Lua

Previous Thread :: Next Thread 
Harrypotter4456 is not online. Harrypotter4456
Joined: 28 Aug 2010
Total Posts: 1106
07 Oct 2011 08:56 AM
I know, I know. Now before you start saying 'Learning Lua is really easy, get a teacher' I'd just like some advice from you guys instead. I have NO CLUE how to write in Lua so I can't write a script.
Would this be speaking Lua correctly?



Workspace.GetChildren.increase.strength.(50) wait(1).Mesh.Sphere.if.RightArm.Clone



end



if not, tell me how to improve and if I did it right tell me.


Thanks!



Report Abuse
sdfgw is not online. sdfgw
Top 50 Poster
Joined: 08 Jan 2009
Total Posts: 41681
07 Oct 2011 08:59 AM
That's not even close. You need a statement for every action to do, and a condition for every "if" you write. If you want to do something to every child, you need to grab a table, and iterate through it with a loop.
Report Abuse
Harrypotter4456 is not online. Harrypotter4456
Joined: 28 Aug 2010
Total Posts: 1106
07 Oct 2011 09:03 AM
WHOA WHOA WHOA.



I'm not 12, I'm 9 and I have NO CLUE WHAT YOU'RE TALKING ABOUT.


So, before you launch into advanced math, speak so I can understand what you mean, because your last sentence is like a forigen lanuage to me.



Seriously. Could we try that again?

*cough*nomathtalkplease*cough*
Report Abuse
sdfgw is not online. sdfgw
Top 50 Poster
Joined: 08 Jan 2009
Total Posts: 41681
07 Oct 2011 09:04 AM
Here's a better idea. Before YOU launch yourself into intermediate scripting, you get the basics down. Check out an Absolute Beginner tutorial off the wiki.
Report Abuse
Harrypotter4456 is not online. Harrypotter4456
Joined: 28 Aug 2010
Total Posts: 1106
07 Oct 2011 09:07 AM
Kay then. :3


But it looks hard :P
Report Abuse
sdfgw is not online. sdfgw
Top 50 Poster
Joined: 08 Jan 2009
Total Posts: 41681
07 Oct 2011 09:14 AM
It's all logic, really. Like learning another language, except more culture shock and less similarities to anything you're used to.
Report Abuse
ZizZazZuz is not online. ZizZazZuz
Joined: 16 Jun 2008
Total Posts: 2743
07 Oct 2011 09:26 AM
That's so far off I don't know how to start.

p = Workspace:GetChildren() --GetChildren() is a method, hence the :.

for i = 1, #p do --Do once for every child.
if p[i].Name == "NameOfModelHere" then --If it's the one you want then
--stuff here. Clone is a method.
end
end --Ends needed for conditionals and for tables.

Overall... Start at the beginning.

game.Workspace.Part:Clone() --Try this to start.
Report Abuse
Combrad is not online. Combrad
Joined: 18 Jul 2009
Total Posts: 11025
07 Oct 2011 09:30 AM
Tell me what the script SHOULD do, then I can show you the correction version.
Report Abuse
Harrypotter4456 is not online. Harrypotter4456
Joined: 28 Aug 2010
Total Posts: 1106
07 Oct 2011 02:37 PM
It's supposed to 'increase strength' to make little biceps appear on their right arm.
Report Abuse
sdfgw is not online. sdfgw
Top 50 Poster
Joined: 08 Jan 2009
Total Posts: 41681
07 Oct 2011 02:39 PM
unfortunately, Lua is not an artificial intelligence with an advanced grasp of the English language. You have to make do with changing the properties of certain objects, and the use of a limited number of actions called methods.
Report Abuse
crazypotato4 is not online. crazypotato4
Joined: 22 Feb 2010
Total Posts: 20000
07 Oct 2011 02:44 PM
wiki.roblox.com/index.php/User:Crazypotato4/Test

if you want to know those fancy words that sdfgw was using in that first post
Report Abuse
MrgamesNwatch is not online. MrgamesNwatch
Joined: 02 Feb 2009
Total Posts: 7729
07 Oct 2011 03:35 PM
@crazypotato
thats a nice guide you got there. I actually learned you can have a table in a table (so long as i read your string section correctly)
Report Abuse
nate890 is not online. nate890
Joined: 22 Nov 2008
Total Posts: 21686
07 Oct 2011 03:35 PM
Speaking Lua?
Report Abuse
Smakdown21 is not online. Smakdown21
Joined: 15 Dec 2009
Total Posts: 1552
07 Oct 2011 06:24 PM
I learned $%HTML when I was your age.
Report Abuse
crazypotato4 is not online. crazypotato4
Joined: 22 Feb 2010
Total Posts: 20000
07 Oct 2011 06:32 PM
html isnt even a programming language
Report Abuse
nate890 is not online. nate890
Joined: 22 Nov 2008
Total Posts: 21686
07 Oct 2011 06:33 PM
^

­<'+1 Post. Ujelly?'>
Report Abuse
Smakdown21 is not online. Smakdown21
Joined: 15 Dec 2009
Total Posts: 1552
07 Oct 2011 06:44 PM
He's right, but its as close as you can get. HyperText Makeup/Markup Language or something like that.
Report Abuse
darkkiller5555 is not online. darkkiller5555
Joined: 22 Nov 2009
Total Posts: 6359
07 Oct 2011 06:46 PM
HTML is a MARK UP LANGUAGE.

Hence the acronym..

Hyper
Text
Mark-Up
Language
Report Abuse
crazypotato4 is not online. crazypotato4
Joined: 22 Feb 2010
Total Posts: 20000
07 Oct 2011 06:49 PM
markup language is not at all close to a programming language.
Report Abuse
nate890 is not online. nate890
Joined: 22 Nov 2008
Total Posts: 21686
07 Oct 2011 06:50 PM
Calling HTML a programming language is like calling bbcode a programming language

­<'+1 Post. Ujelly?'>
Report Abuse
Harrypotter4456 is not online. Harrypotter4456
Joined: 28 Aug 2010
Total Posts: 1106
09 Oct 2011 09:15 AM
Then I'll try :P
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