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: Make a new function:connect()?

Previous Thread :: Next Thread 
xXScriptzXx is not online. xXScriptzXx
Joined: 13 Jan 2013
Total Posts: 4452
24 Aug 2014 05:18 PM
Also, make it return a arg
Like this:

game.Workspace.Function:connect(function (arg)
print arg
end)

¡sǝʎ uǝɥʇ ɹǝʇɹoɥs sʇı ǝsnɐɔǝq 'ou ʎɐs ןןıʍ ı 'ǝsɐǝןd uǝɥʇ ɹǝʇɹoɥs sʇı ǝsnɐɔǝq sןd ʎɐs noʎ ɟı ǝsnɐɔǝq 'ou
Report Abuse
xXScriptzXx is not online. xXScriptzXx
Joined: 13 Jan 2013
Total Posts: 4452
24 Aug 2014 05:36 PM
b3mp

¡sǝʎ uǝɥʇ ɹǝʇɹoɥs sʇı ǝsnɐɔǝq 'ou ʎɐs ןןıʍ ı 'ǝsɐǝןd uǝɥʇ ɹǝʇɹoɥs sʇı ǝsnɐɔǝq sןd ʎɐs noʎ ɟı ǝsnɐɔǝq 'ou
Report Abuse
oscar9999991 is not online. oscar9999991
Joined: 15 Nov 2009
Total Posts: 11373
24 Aug 2014 05:51 PM
So is this what you want(Using Touched as an example)

script.Parent.Touched:connect(function(hitPart)
print(hitPart)
end)
Report Abuse
xXScriptzXx is not online. xXScriptzXx
Joined: 13 Jan 2013
Total Posts: 4452
24 Aug 2014 05:53 PM
yea

¡sǝʎ uǝɥʇ ɹǝʇɹoɥs sʇı ǝsnɐɔǝq 'ou ʎɐs ןןıʍ ı 'ǝsɐǝןd uǝɥʇ ɹǝʇɹoɥs sʇı ǝsnɐɔǝq sןd ʎɐs noʎ ɟı ǝsnɐɔǝq 'ou
Report Abuse
xXScriptzXx is not online. xXScriptzXx
Joined: 13 Jan 2013
Total Posts: 4452
24 Aug 2014 05:57 PM
Help

¡sǝʎ uǝɥʇ ɹǝʇɹoɥs sʇı ǝsnɐɔǝq 'ou ʎɐs ןןıʍ ı 'ǝsɐǝןd uǝɥʇ ɹǝʇɹoɥs sʇı ǝsnɐɔǝq sןd ʎɐs noʎ ɟı ǝsnɐɔǝq 'ou
Report Abuse
oscar9999991 is not online. oscar9999991
Joined: 15 Nov 2009
Total Posts: 11373
24 Aug 2014 06:00 PM
I honestly don't know what you are asking for I just gave you what you want
Report Abuse
xXScriptzXx is not online. xXScriptzXx
Joined: 13 Jan 2013
Total Posts: 4452
24 Aug 2014 06:01 PM
Im asking for a CUSTOM event, that can use :connect

¡sǝʎ uǝɥʇ ɹǝʇɹoɥs sʇı ǝsnɐɔǝq 'ou ʎɐs ןןıʍ ı 'ǝsɐǝןd uǝɥʇ ɹǝʇɹoɥs sʇı ǝsnɐɔǝq sןd ʎɐs noʎ ɟı ǝsnɐɔǝq 'ou
Report Abuse
xXScriptzXx is not online. xXScriptzXx
Joined: 13 Jan 2013
Total Posts: 4452
24 Aug 2014 06:05 PM
Help

¡sǝʎ uǝɥʇ ɹǝʇɹoɥs sʇı ǝsnɐɔǝq 'ou ʎɐs ןןıʍ ı 'ǝsɐǝןd uǝɥʇ ɹǝʇɹoɥs sʇı ǝsnɐɔǝq sןd ʎɐs noʎ ɟı ǝsnɐɔǝq 'ou
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