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 » Club Houses » ROBLOX Talk
Home Search
 

Re: Anyone Who Wants To Learn Scripting - Scripting Camp Is For You

Previous Thread :: Next Thread 
endofskull is not online. endofskull
Joined: 15 Mar 2008
Total Posts: 5822
15 May 2011 07:17 PM
If you want to learn scripting, you can come to a Scripting Camp session. After the session you will be quized via GUI, and then I'll give everyone there grades, and what they missed. There's 19 places for my first session - on Friday the 20th at 6:00 PM EST. Please do sign up. This is a beginners class, so you don't have to have any knowledge of scripting.
Report Abuse
flamorie is not online. flamorie
Joined: 04 Feb 2009
Total Posts: 8563
15 May 2011 07:19 PM
Is it for Lua?
Report Abuse
endofskull is not online. endofskull
Joined: 15 Mar 2008
Total Posts: 5822
15 May 2011 07:22 PM
Yep
Report Abuse
Viper22 is not online. Viper22
Joined: 11 Apr 2008
Total Posts: 1191
15 May 2011 07:22 PM
I first thought this was an ACTUAL scripting camp in real life...
A robloxian can dream...
Report Abuse
NilPill is not online. NilPill
Joined: 20 Apr 2011
Total Posts: 962
15 May 2011 07:22 PM
wiki.roblox.com
Report Abuse
regilord is not online. regilord
Joined: 17 Dec 2008
Total Posts: 4839
15 May 2011 07:23 PM
Lua or general?
Report Abuse
Waffleguy101 is not online. Waffleguy101
Joined: 31 Aug 2010
Total Posts: 49749
15 May 2011 07:23 PM
Scripting camp isn't for me.
Report Abuse
endofskull is not online. endofskull
Joined: 15 Mar 2008
Total Posts: 5822
15 May 2011 07:25 PM
It's Lua.

Also, the reason you should do scripting camp instead of wiki.roblox is that you actually get help, right there, right then, hands on. And it's more social. :)
Report Abuse
awesomeness04 is not online. awesomeness04
Joined: 16 Jul 2009
Total Posts: 1852
15 May 2011 07:26 PM
Sign me up.
Report Abuse
NilPill is not online. NilPill
Joined: 20 Apr 2011
Total Posts: 962
15 May 2011 07:26 PM
Wiki.roblox.com helps.
Report Abuse
endofskull is not online. endofskull
Joined: 15 Mar 2008
Total Posts: 5822
15 May 2011 07:28 PM
So far Awesomeness04 is the only one signed up. 18 places left!
Report Abuse
badgraphix is not online. badgraphix
Joined: 26 Nov 2007
Total Posts: 22800
15 May 2011 07:30 PM
Wait, why is it at a place? You can't practice there.
Report Abuse
ndspinner is not online. ndspinner
Joined: 06 Jul 2008
Total Posts: 1215
15 May 2011 07:49 PM
Sign me up too :3













And I was Bi-winning, too
Report Abuse
demoncloud15 is not online. demoncloud15
Joined: 10 Jun 2009
Total Posts: 4303
15 May 2011 07:50 PM
Sign me up!
Report Abuse
AirHead748 is not online. AirHead748
Joined: 14 May 2011
Total Posts: 3034
15 May 2011 07:52 PM
Sign me up too :)
Report Abuse
NilPill is not online. NilPill
Joined: 20 Apr 2011
Total Posts: 962
15 May 2011 07:57 PM
Basic Lua: Made by MrHistory

Part 1: Value Types
There are 7 value types:
-Number: 1
-Boolean: true/false
-String: "Characters"
-Object: game.workspace
-Table: {x = 1,y = 2}
-Function: function Hi() print(1) end
-Nil: nothing

It's okay if you didn't get a few of those.

Numbers:
It's pretty self-evident. Numbers as in 12, 1, 0, 6.352

Boolean:
There are two values. True and False.

String:
These are groups of characters (aka words). They must be expressed in quotes.
"Hello world!" "Lololololol"

Object:
These are things such as Part, Mesh, Smoke, Fire, et cetera.
To access an object, use dots as so:
game.workspace
game.Lighting
game.workspace.Part

If you have an object named a number such as 1 or 12 or an object with a space in its name, you can use [] instead of a dot.
game.workspace[1].Smoke
game.workspace["This Has Spaces"].Smoke

Function:
http://www.roblox.com/Forum/ShowPost.aspx?PostID=45496683
If you do not understand it, give it some time and then come back to it.

Table:
These are groups of values that have keys. You can form a table with {}. Inside the table, you have to provide a key and value that matches the key. If you do not provide a key, the key will automatically be the number of the value in the order they appear.
{x = 1,y = 2,z = "Hello"}
{1,2,"Hello"} --In that table, no key was provided, so 1's key is 1, 2's key is 2, and "Hello"'s key is 3.

Part 2: Declarations & Variables
When you declare a value, you state what you want something to be.
game.workspace.Part.Name = "Hello"
In objects, there are properties that state the characteristics of the object. All the properties are one of the value types above. For example, Name is a string. Reflectance is a number. CanCollide is a boolean.

A variable is a value that takes a name.
x = "Hello"
y = game.workspace.Part
z = 1

This is extremely useful in coding because instead of stating the value repeatedly, you can state the variable instead.
y.Reflectance = 1
game.workspace.Part.Name = x
game.worksapce.Part.Transparency = z

Part 3: Operators
NOTE: If you are not past 6th grade, I cannot help you.
-Addition: +
-Subtraction: -
-Multiplication: *
-Division: /
-Exponentation: ^
-Modulus: %
-Concatenation: ..
-Unary: not

You should be familiar with the first 5, but the others are new. Modulus returns the remainder of division.
3%7 = 1
3%8 = 2
3%9 = 0

Concatenation allows you to join two strings. It is useful when using a variable.'
x = "Jelly"

"u"..x --This will turn out to be uJelly.

The unary operator is mainly used to negate something such as true and false.
not true --false
not false --true


PM me questions.
Report Abuse
endofskull is not online. endofskull
Joined: 15 Mar 2008
Total Posts: 5822
15 May 2011 07:57 PM
List of people signed up as of now:
awesomeness04
ndspinner
demoncloud15
airhead748
Report Abuse
demoncloud15 is not online. demoncloud15
Joined: 10 Jun 2009
Total Posts: 4303
15 May 2011 08:06 PM
Signed up!
Report Abuse
endofskull is not online. endofskull
Joined: 15 Mar 2008
Total Posts: 5822
15 May 2011 09:16 PM
Anyone else?
Report Abuse
KingBowwow is not online. KingBowwow
Joined: 03 Nov 2008
Total Posts: 1803
15 May 2011 09:17 PM
Count me in, Jack!
Report Abuse
endofskull is not online. endofskull
Joined: 15 Mar 2008
Total Posts: 5822
15 May 2011 09:29 PM
You're in. The list right now:
awesomeness04
ndspinner
airhead748
kingbowwow
Report Abuse
gordonrox24 is not online. gordonrox24
Joined: 05 Jan 2008
Total Posts: 39141
15 May 2011 09:32 PM
Looks like a pretty cool idea.
Report Abuse
endofskull is not online. endofskull
Joined: 15 Mar 2008
Total Posts: 5822
15 May 2011 09:37 PM
:)
Report Abuse
endofskull is not online. endofskull
Joined: 15 Mar 2008
Total Posts: 5822
16 May 2011 02:32 PM
Come on, anyone else?
Report Abuse
DuckD0nald is not online. DuckD0nald
Joined: 21 Aug 2008
Total Posts: 9870
16 May 2011 02:34 PM
SignSignSign.
Just add a script thing and I'll be right over.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Club Houses » ROBLOX Talk
   
 
   
  • 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