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: I need help scripting

Previous Thread :: Next Thread 
BenyBoo7 is not online. BenyBoo7
Joined: 02 Jan 2012
Total Posts: 557
25 May 2013 06:19 PM
Tell me how to script
Report Abuse
dog456pop248 is not online. dog456pop248
Joined: 24 Aug 2008
Total Posts: 3977
25 May 2013 06:19 PM
No.
Report Abuse
TerminalZero is not online. TerminalZero
Joined: 22 Oct 2011
Total Posts: 1001
25 May 2013 06:22 PM
Read other peoples scripts. That's how I learned. No teacher. :)
Report Abuse
BruceAB12 is not online. BruceAB12
Joined: 19 Jan 2012
Total Posts: 3238
25 May 2013 06:22 PM
wiki.roblox.com

^^^^^^

Contains all you need to know about scripting, although I don't use it.
Report Abuse
stephen1182 is not online. stephen1182
Joined: 31 Aug 2010
Total Posts: 4003
25 May 2013 06:22 PM
Don't expect us to teach you.

We're not slaves.

Read the tutorials on LuaLearners.
Report Abuse
BenyBoo7 is not online. BenyBoo7
Joined: 02 Jan 2012
Total Posts: 557
25 May 2013 06:23 PM
I know one script I watched my cousin do it.
Report Abuse
stephen1182 is not online. stephen1182
Joined: 31 Aug 2010
Total Posts: 4003
25 May 2013 06:24 PM
That doesn't mean you know the script.

Post it word for word here, and I'll tell you if it's incorrect.
Report Abuse
BruceAB12 is not online. BruceAB12
Joined: 19 Jan 2012
Total Posts: 3238
25 May 2013 06:25 PM
If I were you I wouldn't want to learn lua, I would learn something like PHP, Python, Ruby, HTML, or Java, but its up too you.
Report Abuse
stephen1182 is not online. stephen1182
Joined: 31 Aug 2010
Total Posts: 4003
25 May 2013 06:26 PM
@Bruce

This isn't Lua. It's ROBLOX Lua. There's a huge difference.

I have the Programming in Lua: Third Edition by Roberto Ierusalimschy, and it's almost nothing like ROBLOX Lua.
Report Abuse
BruceAB12 is not online. BruceAB12
Joined: 19 Jan 2012
Total Posts: 3238
25 May 2013 06:27 PM
I honestly like Roblox Lua more than pure Lua.
Report Abuse
stephen1182 is not online. stephen1182
Joined: 31 Aug 2010
Total Posts: 4003
25 May 2013 06:28 PM
So do I.

But normal Lua is more function-able.
Report Abuse
Dr01d3k4 is not online. Dr01d3k4
Joined: 11 Oct 2007
Total Posts: 17916
25 May 2013 06:29 PM
@Stephen: Not really. Vanilla Lua on it's own can't do that much. Well, it can be useful if you wanna right a quick program to do something with the files on your computer, but other than that you need an embedded environment to run it in.
Report Abuse
BruceAB12 is not online. BruceAB12
Joined: 19 Jan 2012
Total Posts: 3238
25 May 2013 06:30 PM
Yeah it is. I wonder if io.read() is available in Roblox Lua.
Report Abuse
Dr01d3k4 is not online. Dr01d3k4
Joined: 11 Oct 2007
Total Posts: 17916
25 May 2013 06:31 PM
It's not.
Report Abuse
BruceAB12 is not online. BruceAB12
Joined: 19 Jan 2012
Total Posts: 3238
25 May 2013 06:32 PM
Oh, its a very useful piece of code though.
Report Abuse
stephen1182 is not online. stephen1182
Joined: 31 Aug 2010
Total Posts: 4003
25 May 2013 06:33 PM
@dr01d3k4

What I meant is you can just program:

>a = io.read()

>print (a)

But, in ROBLOX Lua, you would have to make a Gui and make it print what's typed in to the Output. That's way more difficult.
Report Abuse
BruceAB12 is not online. BruceAB12
Joined: 19 Jan 2012
Total Posts: 3238
25 May 2013 06:34 PM
Agreed
Report Abuse
stephen1182 is not online. stephen1182
Joined: 31 Aug 2010
Total Posts: 4003
25 May 2013 06:34 PM
We're getting really irrelevant to the original subject now... lol
Report Abuse
BruceAB12 is not online. BruceAB12
Joined: 19 Jan 2012
Total Posts: 3238
25 May 2013 06:34 PM
lol
Report Abuse
BenyBoo7 is not online. BenyBoo7
Joined: 02 Jan 2012
Total Posts: 557
25 May 2013 06:35 PM
Oh I tried the pure lua
Report Abuse
stephen1182 is not online. stephen1182
Joined: 31 Aug 2010
Total Posts: 4003
25 May 2013 06:36 PM
@above

That totally wouldn't work...
Report Abuse
BruceAB12 is not online. BruceAB12
Joined: 19 Jan 2012
Total Posts: 3238
25 May 2013 06:36 PM
print("Hello!")

while true do

local i = io.read()

if i ~= "dsdsdf" then

print("'"..i..'"")

end

end

idk :p
Report Abuse
stephen1182 is not online. stephen1182
Joined: 31 Aug 2010
Total Posts: 4003
25 May 2013 06:38 PM
Lol you put it in a loop?
Report Abuse
BruceAB12 is not online. BruceAB12
Joined: 19 Jan 2012
Total Posts: 3238
25 May 2013 06:44 PM
Yeah its suppose to mock you forever.

This is a another script i wrote that finds the Surface Area of a Cylinder:

while true do

print("Cylinder's SA calculator ready!")

print("Say start")

local t = io.read()

if t == "start" then

print("Please type the radius of the cylinder.")

local r = io.read()

print("Please type the height of the cylinder.")

local h = io.read()

local rh = 2*3.14*r*r+2*3.14*r*h

print("The SA of the cylinder is "..rh)

else if t~="" then

print("Error")

end

end
Report Abuse
BenyBoo7 is not online. BenyBoo7
Joined: 02 Jan 2012
Total Posts: 557
25 May 2013 07:46 PM
cool I'll try that when I have time but I wanna know more scripts
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