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: Learning to script

Previous Thread :: Next Thread 
Rikerwatts is not online. Rikerwatts
Joined: 02 Aug 2008
Total Posts: 11296
22 Oct 2012 11:00 AM
Based on the Wiki, i'm a very basic scripter now.
yeeee.
I'm actually having fun doing this.


No siggy for teh meanwhile.
Report Abuse
EZroboxpolice is not online. EZroboxpolice
Joined: 03 Mar 2009
Total Posts: 21367
22 Oct 2012 11:02 AM
[ Content Deleted ]
Report Abuse
Rikerwatts is not online. Rikerwatts
Joined: 02 Aug 2008
Total Posts: 11296
22 Oct 2012 11:06 AM
Because, I am typing out code and when I get something wrong, I paste the code from the Wiki to see what I did wrong and improve upon it, just like I do with spelling.

c:
Report Abuse
Pwnixer is not online. Pwnixer
Joined: 25 Oct 2010
Total Posts: 9224
22 Oct 2012 11:09 AM
Wait to you get Variables...

That is super fun... *facesarcasm*

-Pwnixer
Report Abuse
littleAU999 is not online. littleAU999
Joined: 15 Jan 2011
Total Posts: 1375
22 Oct 2012 11:10 AM
print'lolkol'
Report Abuse
littleAU999 is not online. littleAU999
Joined: 15 Jan 2011
Total Posts: 1375
22 Oct 2012 11:12 AM
@Pwn,

Variables = true
are = true
fun = true

print('Variables are fun: '..Variables and are and fun)

> Variables are fun: true
Report Abuse
BUlLDlNG is not online. BUlLDlNG
Joined: 15 May 2012
Total Posts: 11540
22 Oct 2012 11:14 AM
I LEARNED TO SCRIPT IN 2001
Report Abuse
littleAU999 is not online. littleAU999
Joined: 15 Jan 2011
Total Posts: 1375
22 Oct 2012 11:15 AM
i lrned 2011. ;3
Report Abuse
Rikerwatts is not online. Rikerwatts
Joined: 02 Aug 2008
Total Posts: 11296
22 Oct 2012 11:18 AM
Well I delayed until now, I'm attempting to make games that are more than just cool building with C-frame or Obbies that are ridiculously easy to make.

I want to make a scripted game in some way with my own effort, it's just difficult when I can't script and only dream, so I am doing so now.
I just got finished with

local brick = Workspace.Brick

- function onTouch.(part)
Brick.Transparency = 1
wait (1)
Brick.Transparency = 0

end

brick.Touched:connect onTouch


Oh fun c:
Report Abuse
XC6Alt6 is not online. XC6Alt6
Joined: 15 Aug 2012
Total Posts: 237
22 Oct 2012 11:19 AM
i learned how to script never
Report Abuse
BUlLDlNG is not online. BUlLDlNG
Joined: 15 May 2012
Total Posts: 11540
22 Oct 2012 11:20 AM
@Rikerwatts
try script.Parent.Touched:connect(function()

It's easier than this:

function onTouch()

[Code]

WHATEVER.Touched:connect(onTouch)
Report Abuse
BUlLDlNG is not online. BUlLDlNG
Joined: 15 May 2012
Total Posts: 11540
22 Oct 2012 11:21 AM
Well, in your case
Brick.Touched:connect(function()
Report Abuse
littleAU999 is not online. littleAU999
Joined: 15 Jan 2011
Total Posts: 1375
22 Oct 2012 11:21 AM
local brick = Workspace.Brick

function onTouch(part)
part.Transparency = 1
wait (1)
part.Transparency = 0

end

brick.Touched:connect(onTouch) *
Report Abuse
Rikerwatts is not online. Rikerwatts
Joined: 02 Aug 2008
Total Posts: 11296
22 Oct 2012 11:21 AM
Building.

Does that allow me to make the code shorter and save me some time?
Report Abuse
RokinRonan is not online. RokinRonan
Joined: 17 Dec 2011
Total Posts: 21103
22 Oct 2012 11:22 AM
ok
i like scripting too

>ƒяєє вαcσи cσмєs ὠìтн тнìs ρσsт<
Report Abuse
BUlLDlNG is not online. BUlLDlNG
Joined: 15 May 2012
Total Posts: 11540
22 Oct 2012 11:22 AM
@Riker
yup
Report Abuse
littleAU999 is not online. littleAU999
Joined: 15 Jan 2011
Total Posts: 1375
22 Oct 2012 11:22 AM
late post. :<
Report Abuse
Rikerwatts is not online. Rikerwatts
Joined: 02 Aug 2008
Total Posts: 11296
22 Oct 2012 11:25 AM
Ah I see.
I'm getting confused, looking at more advanced scripts whilst learning basic.
It's kind of hard when i see a script that is spaced out like

local brick = Workspace.Brick

function onTouch(part)
brick.Transparency = 1
wait(1)
brick.Transparency = 0 <-- these three lines have spaces, and that confuses me O.e***
end

brick.Touched:connect(onTouch)
Report Abuse
BUlLDlNG is not online. BUlLDlNG
Joined: 15 May 2012
Total Posts: 11540
22 Oct 2012 11:26 AM
They don't have to have spaces.
Report Abuse
Rikerwatts is not online. Rikerwatts
Joined: 02 Aug 2008
Total Posts: 11296
22 Oct 2012 11:26 AM
oh-my.
When posted they don't.
I SO CONFUSE.
Report Abuse
9A0 is not online. 9A0
Joined: 18 Oct 2012
Total Posts: 136
22 Oct 2012 11:27 AM
Haha, great to hear ! =)

I, myself have learned in time. My teacher is theRal.

You should really try to learn some GUI basics, so you can make something cool / useful.

My first GUIs I've made:

http://www.roblox.com/Building-Tools-GUI-item?id=95512042

Very helpful if you are going to build with friends / make a building game.

http://www.roblox.com/Path-GUI-V-0-1-item?id=95421401

An easier version of "Path givers" on a GUI, some colors miss due to me being lazy.

http://www.roblox.com/Path-GUI-V-0-1-GIVER-For-Obby-item?id=95443726

Gives the Path GUI on-touch (Mostly for obstacle course winners, easy path giving GUI)

Have some fun with scripting !
Report Abuse
BUlLDlNG is not online. BUlLDlNG
Joined: 15 May 2012
Total Posts: 11540
22 Oct 2012 11:28 AM
They don't need spaces. :3
Report Abuse
littleAU999 is not online. littleAU999
Joined: 15 Jan 2011
Total Posts: 1375
22 Oct 2012 11:29 AM
The spaces just make more organized. :P
Report Abuse
XxBluePwndaXx is not online. XxBluePwndaXx
Joined: 31 Dec 2011
Total Posts: 6216
22 Oct 2012 11:30 AM
[ Content Deleted ]
Report Abuse
littleAU999 is not online. littleAU999
Joined: 15 Jan 2011
Total Posts: 1375
22 Oct 2012 11:31 AM
pwnda, lies
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