| |
|
|
| 28 Aug 2011 07:01 AM |
You learn from Google, Youtube, And other stuff.
•»Penguins Can't Fly. But I can.«• |
|
|
| Report Abuse |
|
|
| |
|
Harrokin
|
  |
| Joined: 10 Sep 2008 |
| Total Posts: 8564 |
|
|
| 28 Aug 2011 07:03 AM |
The way to start off is to edit them. Try making a lava script that doesn't kill you instantly - or maybe splice it with a rocket launcher script so that when you touch it, you explode! The first thing I ever made was a gate that turned you invisible, then another that made you visible again. All it was was a non-lethal bit of lava, which I then reversed. |
|
|
| Report Abuse |
|
|
Munno
|
  |
| Joined: 06 Oct 2008 |
| Total Posts: 2784 |
|
|
| 28 Aug 2011 07:05 AM |
Its a language, like in English you know exactly where the as and ands and of courses should go and the way to use them. Syntax is not the hardest part for me, learning what to do to overcome something is.
I learnt to script by looking at other scripts and from the wiki. Scripting Helpers will usually fix anything you post.
The first thing you need to learn is hierarchy (spelling pelase?). E.g, if you wanted to do something with a brick called bob and you knew he was in the workspace you would say game.Workspace.bob This is what I mean about a language, you need to learn where the .s should be, etc.
The next thing, I suppose, would be learning properties of objects and the methods associated with them.
http://wiki.roblox.com/index.php/Part pages like these are the most helpful to me, they have lists of all the methods (pink) and properties (blue).
Long post for me... |
|
|
| Report Abuse |
|
|
Munno
|
  |
| Joined: 06 Oct 2008 |
| Total Posts: 2784 |
|
|
| 28 Aug 2011 07:05 AM |
Even though it looks complex, its worth it when you see your fancy GUI pop up in-game...
And I'm a pretty bad scripter. :) |
|
|
| Report Abuse |
|
|
Harrokin
|
  |
| Joined: 10 Sep 2008 |
| Total Posts: 8564 |
|
|
| 28 Aug 2011 07:09 AM |
| It's all syntax. All of it. |
|
|
| Report Abuse |
|
|
|
| 28 Aug 2011 07:10 AM |
You know, I used to think the same thing.
Now I find it easy.
Here's a easy way to do it: Edit free modeled scripts, reverse engineer them... figure out what things do what, and then you shall have the key to the door of unlimited possibilities by next year. |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
| |
|
| |
|
Munno
|
  |
| Joined: 06 Oct 2008 |
| Total Posts: 2784 |
|
|
| 28 Aug 2011 07:25 AM |
If you wanted to do that in a live server, it would be a bit trickier because you'd need something to "fire" it.
Lookup listeners or whatever they're called now.
E.g. To make it remove his head when a block is touched, you'd put this in a script int he block:
function killroblox() game.Workspace.ROBLOX.Head:remove() script.Parent.Touched:connect(killroblox)
The last line is the connection line, and .Touched is the listener that fires the entire function when it is activated. |
|
|
| Report Abuse |
|
|
| |
|