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 » Game Creation and Development » Scripting Helpers
Home Search
 

Re: I don't get it.

Previous Thread :: Next Thread 
Telafight is not online. Telafight
Joined: 25 Jul 2011
Total Posts: 10466
12 Apr 2013 12:12 PM
[edit] Event Listeners Now we're getting into the meat of scripting. Sure, the script knows where the brick is, but that's all. It can't do anything else. Now we're jumping into a listening event.

An event listener watches what's going on, and waits for an event to happen. When it does, it tells the script to do something. This is one important part of the script, otherwise you couldn't really make scripts wait for anything.

You still should have the script with the variable in it. We're going to make the script listen for being touched (the Touched event). Here's an example:

brick.Touched:connect(onTouch)



I typed in brick.Touched:connect(onTouch) and it did nothing special! What am I supposed to do?
Report Abuse
MegaManHater is not online. MegaManHater
Joined: 23 Mar 2012
Total Posts: 1947
12 Apr 2013 12:13 PM
tl;dr
Report Abuse
Ovro is not online. Ovro
Joined: 17 Mar 2013
Total Posts: 6346
12 Apr 2013 12:13 PM
Wrong forum , try script helpers or something liek that

nu i spent time to write this :(
Report Abuse
Telafight is not online. Telafight
Joined: 25 Jul 2011
Total Posts: 10466
12 Apr 2013 12:13 PM
I know this belongs in the Scripting forum, but that forum is dead.
Report Abuse
CubicPaint is not online. CubicPaint
Joined: 10 Apr 2013
Total Posts: 451
12 Apr 2013 12:14 PM
Go too the scripting forum please

#_@ help meeeeee
Report Abuse
Telafight is not online. Telafight
Joined: 25 Jul 2011
Total Posts: 10466
12 Apr 2013 12:15 PM
Grr.... Now I'm sure not to get a response.
Report Abuse
Telafight is not online. Telafight
Joined: 25 Jul 2011
Total Posts: 10466
12 Apr 2013 12:19 PM
bump
Report Abuse
Telafight is not online. Telafight
Joined: 25 Jul 2011
Total Posts: 10466
12 Apr 2013 12:20 PM
Hello?
Report Abuse
Telafight is not online. Telafight
Joined: 25 Jul 2011
Total Posts: 10466
12 Apr 2013 12:22 PM
Y U NO POST?
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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