|
| 02 Nov 2016 06:03 AM |
Hi, if you are new to scripting, I suppose I should teach you.
Lesson 1: For today I am gonna teach you basic scripts, which is not hard. So first of all, the output is where you receive messages from print. How do we use print? Well it's easy.
First type: print DO NOT add any capitals, they stay lowercase. Then add in: print()
And type in the quotation marks print("") And type anything you want! print("I love cookies") When you run the script, it will say what you wrote in the output! Amazing, right?
Now, let's suppose you want to add a part into workspace. Type Instance.new And then add on: Instance.new("Part",game.Workspace) This will add a new part in workspace!
That's it for lesson 1. Lesson 2 coming SOON!
the dog ate my siggy https://www.roblox.com/library/400786493/MOGOLOVONIO |
|
|
| Report Abuse |
|
|
plmkoo
|
  |
| Joined: 05 May 2013 |
| Total Posts: 16998 |
|
|
| 02 Nov 2016 06:04 AM |
| This is potato scripting go into slightly deeper stuff |
|
|
| Report Abuse |
|
|
| |
|
|
| 02 Nov 2016 06:06 AM |
| what a horrible tutorial everybody knows these |
|
|
| Report Abuse |
|
|
jy29
|
  |
| Joined: 25 May 2012 |
| Total Posts: 984 |
|
|
| 02 Nov 2016 06:08 AM |
| The wiki is a thing, but I guess there's no problem with this. |
|
|
| Report Abuse |
|
|
|
| 02 Nov 2016 06:11 AM |
Guys, chill, this is only lesson 1 for beginners, if it's lesson 20 or something it's gonna be hard, But lesson 1 starts of easy then goes to hard
the dog ate my siggy https://www.roblox.com/library/400786493/MOGOLOVONIO |
|
|
| Report Abuse |
|
|
|
| 02 Nov 2016 06:12 AM |
| ############################################################################################################################################################## |
|
|
| Report Abuse |
|
|
|
| 02 Nov 2016 06:12 AM |
Are you a teacher or something? lol
cool |
|
|
| Report Abuse |
|
|
|
| 02 Nov 2016 06:13 AM |
| ITS SO EASY THAT EVEN A NOTE 7 CAN DO IT xD |
|
|
| Report Abuse |
|
|
|
| 02 Nov 2016 06:17 AM |
Lesson 2 - Destroying and removing
Hi, so we have gone through lesson 1. But lesson 2 is pretty challenging for beginner scripters
So, let's start with our part!
Type: game,Workspace.Part
Now, the part's parent is workspace, and workspace's parent is game. This locates where the part is. So let's destroy our part! Type: game.Workspace.Part:Destroy()
You have destroyed a part! So removing is different, it just removes it, but destroying, it DESTROYS the part. Type: game,Workspace.Part:remove()
There!
Lesson 3 coming soon!
the dog ate my siggy https://www.roblox.com/library/400786493/MOGOLOVONIO |
|
|
| Report Abuse |
|
|
|
| 02 Nov 2016 06:18 AM |
SORRY MY KEYBOARD IS USELESS! ITS game.Workspace not game,Workspace
Sorry, MY KEYBOARD IS SO USELESS! PRESSED THE WRONG KEY
the dog ate my siggy https://www.roblox.com/library/400786493/MOGOLOVONIO |
|
|
| Report Abuse |
|
|
|
| 02 Nov 2016 06:22 AM |
I do not know how to script AT ALL, I want to learn but I think I have ADHD.
Baby, baby, baby https://youtu.be/foGVmO0Udsg |
|
|
| Report Abuse |
|
|
| |
|
|
| 02 Nov 2016 09:47 AM |
Lesson 3 - BrickColors
Hi, now this is very challenging for beginners
So BrickColors are colors for parts. So if you want to insert a part, and add a color to it, we type:
Instance.new("Part",game.Workspace)
Then we add: Instance.new("Part",game.Workspace).BrickColor = BrickColor.new("Bright Red")
And your done!
the dog ate my siggy https://www.roblox.com/library/400786493/MOGOLOVONIO |
|
|
| Report Abuse |
|
|
Clurny
|
  |
| Joined: 28 Apr 2010 |
| Total Posts: 12046 |
|
| |
|
|
| 02 Nov 2016 09:53 AM |
I know a potato who can do this
"Just because you took longer than others, doesn't mean you failed." |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 02 Nov 2016 10:15 AM |
| LUL his shirt is pointing to his mom for making him |
|
|
| Report Abuse |
|
|
|
| 02 Nov 2016 10:34 AM |
Lesson 4 - Loops
Ok, let's learn about 'while'
While is like something happens, and keeps on going on
Like:
while game.Players.Player1.Head.Transparency == 1 (ADD 2 equals since it's a loop!!) do Instance.new("Part",game.Workspace)
end (and add an end, otherwise this will loop your ENTIRE script!)
Now, imagine if you can make it loop, FOREVER! This is when while true do comes in!
While true do in the next lesson!
the dog ate my siggy https://www.roblox.com/library/400786493/MOGOLOVONIO |
|
|
| Report Abuse |
|
|
|
| 02 Nov 2016 10:40 AM |
Oops sorry it's game.Workspace.Player.Head Sorry guys
the dog ate my siggy https://www.roblox.com/library/400786493/MOGOLOVONIO |
|
|
| Report Abuse |
|
|
|
| 02 Nov 2016 12:23 PM |
Lesson 5 - efficiency NEVER DO THIS: Instance.new("Part",game.Workspace).BrickColor = BrickColor.new("Bright Red") EVER. EVER. NO. BAD!
|
|
|
| Report Abuse |
|
|
|
| 02 Nov 2016 12:30 PM |
| Also, you should always set the parent AFTER creating the instance and setting the properties. Doing otherwise causes unnecessary collision checks for parts. Less so for values, but still. |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2016 07:37 AM |
Eh
the dog ate my siggy https://www.roblox.com/library/400786493/MOGOLOVONIO |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2016 08:47 AM |
HORRIBLE tutorial. "Brickcolor is something that is very hard for beginners".
Bud, listen up. That is not even remotely hard for beginners.
Also, make sure you use the up to date methods, and stop posting these horrible tutorials. Your a beginner scripter yourself.
while game.Workspace.Head.Transparency == 0 do Instance.new("Part",workspace) end
That will break the game, add a freakin' wait. |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2016 08:52 AM |
This is what the wiki is for.
R$12,714 -- <_< well then <_< |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2016 09:14 AM |
| http://wiki.roblox.com/index.php?title=AllTutorials#Scripting |
|
|
| Report Abuse |
|
|