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
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Scripting Lesson 1.1 [Beginners]

Previous Thread :: Next Thread 
PhiIIz is not online. PhiIIz
Joined: 08 Mar 2015
Total Posts: 1079
19 Mar 2015 03:24 PM
Okay.

In ROBLOX Studio, there is a hierarchy. First, there's an entity called game which is invisible. Workspace is a child of game and everything under it as well. You can say "game.Workspace.Blah" or "Workspace.Blah". They work well but I would use game.Workspace.

Whatever is a child has a parent. Game is a parent of workspace. Workspace is a parent of Part.

You would also want the output box open and tons of space on your screen. Put the output box on the bottom of your screen, and the explorer/properties on the right, top and bottom, or in different windows. This could also be your default.

Anyways, let's start off with simple math!

In ROBLOX studio, math is pretty easy. I won't go into it since you're not dumb.

6/2, 6+2, 6*2, etc.

Okay.

In ROBLOX Studio, there is a hierarchy. First, there's an entity called game which is invisible. Workspace is a child of game and everything under it as well. You can say "game.Workspace.Blah" or "Workspace.Blah". They work well but I would use game.Workspace.

Whatever is a child has a parent. Game is a parent of workspace. Workspace is a parent of Part.

You would also want the output box open and tons of space on your screen. Put the output box on the bottom of your screen, and the explorer/properties on the right, top and bottom, or in different windows. This could also be your default.

Anyways, let's start off with simple math!

In ROBLOX studio, math is pretty easy. I won't go into it since you're not dumb.

6/2, 6+2, 6*2, etc.

However, it's quite different with greater than and less than things, etc. And before we get into that, let's discuss variables. Variables are things you can define in Studio. For example, Jaiel = 1. Now "Jaiel" is recognized as the number 1. You have defined what Jaiel is. We can also do things such as, Brick = Workspace.Part where part is a child of workspace. How does math come into this? Well, it's actually quite simple.

Before we do that though, let's use print. Print allows you to have the output print out whatever you want onto it. Just make sure that whatever your printing is recognizable by Studio.

To use print, type print(""), e.g. print("PhiIIz is better than Jaiel at RCL.") The output will recognize this and once you hit play, it will show. Awesome right?

Now back to the math and stuff. Now that Jaiel is known as one, we can do some scripting.

Jaiel +1
wait()
print(Jaiel)

It should say 2. Test the math out.

Anyways, the > or < or = symbols are not the only symbols you can use either.

== means is equal to
~= means not equal to
>= greater than or equal to
<= less than or equal to

Yeah...Stuff.

=====================Instances==============

First off, you want to know instances. Instances are things like fire.

For example, let's have a part in workspace. Then, insert a script.

Type this in the script:

F = Instance.new("Fire")

This creates a new instance called fire. Sparkles, fires, and other things are instances. Check the roblox wikia for more.

F.Parent = Workspace.Part

Or we can put the parent inside the parentheses.

F = Instance.new("Fire", Workspace)


There's your first lesson!
Report Abuse
GeoVolcano is not online. GeoVolcano
Joined: 05 Jul 2012
Total Posts: 1433
19 Mar 2015 03:27 PM
Okay.

In ROBLOX Studio, there is a hierarchy. First, there's an entity called game which is invisible. Workspace is a child of game and everything under it as well. You can say "game.Workspace.Blah" or "Workspace.Blah". They work well but I would use game.Workspace.

Whatever is a child has a parent. Game is a parent of workspace. Workspace is a parent of Part.

You would also want the output box open and tons of space on your screen. Put the output box on the bottom of your screen, and the explorer/properties on the right, top and bottom, or in different windows. This could also be your default.

Anyways, let's start off with simple math!

In ROBLOX studio, math is pretty easy. I won't go into it since you're not dumb.

6/2, 6+2, 6*2, etc.


You typed that twice
Report Abuse
ChiefDelta is not online. ChiefDelta
Joined: 05 Nov 2010
Total Posts: 13071
19 Mar 2015 03:28 PM
You're not qualified to make tutorials.
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
19 Mar 2015 03:29 PM
We say that nobody is qualified to make tutorials. (We means the scripters forum but not me)
Report Abuse
PhiIIz is not online. PhiIIz
Joined: 08 Mar 2015
Total Posts: 1079
19 Mar 2015 03:29 PM
@Chief

You have no right to speak.
Report Abuse
ChiefDelta is not online. ChiefDelta
Joined: 05 Nov 2010
Total Posts: 13071
19 Mar 2015 03:30 PM
"@Chief

You have no right to speak."

And why is that?

@jarod

there are some people who are.
Report Abuse
PhiIIz is not online. PhiIIz
Joined: 08 Mar 2015
Total Posts: 1079
19 Mar 2015 03:30 PM
Because I said so.
Report Abuse
ChiefDelta is not online. ChiefDelta
Joined: 05 Nov 2010
Total Posts: 13071
19 Mar 2015 03:32 PM
"Because I said so."

Too bad.
You posted this on a public forum.

You are not anywhere near good enough to make these.

This tutorial is awful.
Report Abuse
PhiIIz is not online. PhiIIz
Joined: 08 Mar 2015
Total Posts: 1079
19 Mar 2015 03:33 PM
@Chief

Did I give you your right to speak? No.

Silence.


It's not my fault you couldn't use your brain to create a better one and try.
Report Abuse
ChiefDelta is not online. ChiefDelta
Joined: 05 Nov 2010
Total Posts: 13071
19 Mar 2015 03:35 PM
"Did I give you your right to speak? No.

Silence.


It's not my fault you couldn't use your brain to create a better one and try."


Sorry- I don't need your respect.

Yes, I could create a far better one. However, I still do not feel that I would want to create one at the moment. *If* and when I am ever going to make a tutorial series, it will be all out and very comprehensive.

I've played around with making some tutorials and they turned out pretty alright.
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
19 Mar 2015 03:38 PM
I think I'm gonna make YouTube tutorials that no one will understand because I won't explain anything.


I script -~ chimmihc
Report Abuse
iondriver is not online. iondriver
Joined: 18 Nov 2012
Total Posts: 757
19 Mar 2015 03:45 PM
What you do is you make a tutorial that is supposed to be about Lua, but you use a different language instead. Like:

For Loops!

For loops are things that execute code a certain number of times. Here is the syntax.

for( int I=0; I<=10; I++){
System.out.Println("Whats Up times")
}

This would print Whats Up Times! 10 times.
Report Abuse
PhiIIz is not online. PhiIIz
Joined: 08 Mar 2015
Total Posts: 1079
19 Mar 2015 04:14 PM
@Chief

Thus you have no right to speak because you can't use your cells to create one.
Report Abuse
ChiefDelta is not online. ChiefDelta
Joined: 05 Nov 2010
Total Posts: 13071
19 Mar 2015 04:22 PM
"@Chief

Thus you have no right to speak because you can't use your cells to create one."

Stop trying, you're a wannabe, arrogant, novice scripter.
Report Abuse
SummerEquinox is not online. SummerEquinox
Joined: 25 Jun 2013
Total Posts: 2088
19 Mar 2015 04:28 PM
You do realize basically everyone on this forum already knows how to script?
Report Abuse
AdorableFerretsRus is not online. AdorableFerretsRus
Joined: 27 May 2012
Total Posts: 3903
19 Mar 2015 04:44 PM
Why are you posting this here? :/

People won't know to come here...
Report Abuse
PhiIIz is not online. PhiIIz
Joined: 08 Mar 2015
Total Posts: 1079
19 Mar 2015 05:05 PM
@Chief

Stop being arrogant and actually try to help the community for once instead of taking away from it. You're a hindrance to every existence.
Report Abuse
devTree is not online. devTree
Joined: 26 Dec 2012
Total Posts: 2596
19 Mar 2015 05:10 PM
This is a forum for advanced scripting discussions, not tutorials that are made useless thanks to the existence of wiki.roblox.com
Report Abuse
drager980 is online. drager980
Joined: 25 May 2009
Total Posts: 13385
19 Mar 2015 05:16 PM
this is your tutorial translated
[stuff on hierarchy that isnt explained at the proper time]
[6*6/6*6+6+6 = 12 go figure out what each symbol means for yourself its obvious lol xd]
[let me make putting a wait before everything a common habit for you because i added it htere for no reason xD]
[owiat my code doesnt work xDD]
[these are operators idk what they're called but apparently they're seperate from maf symbvols]
[look i can grammer mom]
[whats a local]
[i prefer game.Workspace but let me just use the Workspace.Part instead xD]




AND THE TIGER GOES ROAR
Report Abuse
iondriver is not online. iondriver
Joined: 18 Nov 2012
Total Posts: 757
19 Mar 2015 05:21 PM
Yeah, this is a bit more confusing than the wiki. you don't need wait() after everything, it will just slow down your code and make it hard to read. You also talk about comparison symbols, but not their uses. Mediocre for round 1.1
Report Abuse
ChiefDelta is not online. ChiefDelta
Joined: 05 Nov 2010
Total Posts: 13071
19 Mar 2015 05:38 PM
"@Chief

Stop being arrogant and actually try to help the community for once instead of taking away from it. You're a hindrance to every existence. "

Why are you being so stupid?

This thread helps absolutely no one.

I help people all the time- people at your level but not arrogant.

I believe I do more than you, your argument is invalid.
Report Abuse
ChiefDelta is not online. ChiefDelta
Joined: 05 Nov 2010
Total Posts: 13071
19 Mar 2015 05:39 PM
"To use print, type print(""), e.g. print("PhiIIz is better than Jaiel at RCL.")"

oh I think I found the cause of your utter stupidity

you RCL

RCLers are proven to be idiots
Report Abuse
drager980 is online. drager980
Joined: 25 May 2009
Total Posts: 13385
19 Mar 2015 05:41 PM
chief havent u learnt anytthing form the tutorial?
its
print(
wait()
) + 1



AND THE TIGER GOES ROAR
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
19 Mar 2015 07:32 PM
'This would print Whats Up Times! 10 times.'
And this is why you also shouldn't make a tutorial
Report Abuse
iHin is not online. iHin
Joined: 06 Apr 2014
Total Posts: 407
19 Mar 2015 07:38 PM
Gee if only there was a full documentation for everything you could possibly script.
Gee if only they were all categorized into Beginner, Intermediate, and Advanced categories.
Gee if only they were available to players to see.


Oh wait,
http://wiki.roblox.com/index.php?title=Absolute_beginner%27s_guide_to_scripting

Don't be ignorant.


Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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