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 » Scripters
Home Search
 

Having an event connect to multiple functions?

Previous Thread :: Next Thread 
lunarvoidknight12 is not online. lunarvoidknight12
Joined: 09 Apr 2011
Total Posts: 214
04 Apr 2015 07:33 PM
Is this possible? and how
Report Abuse
amanda is not online. amanda
Joined: 21 Nov 2006
Total Posts: 5925
04 Apr 2015 07:37 PM
local function Alpha()
print('moo!')
end

local function Bravo()
print('BLAHAHHDSUAFDHASF')
end

local part = script.Parent

part.Touched:connect(function()
Alpha()
Bravo()
end)
Report Abuse
rayk999 is not online. rayk999
Joined: 18 Feb 2011
Total Posts: 4705
04 Apr 2015 07:38 PM
^
Report Abuse
lunarvoidknight12 is not online. lunarvoidknight12
Joined: 09 Apr 2011
Total Posts: 214
04 Apr 2015 08:44 PM
Oh i didn't think of this at the time, I thought it would be more simple like:


function1()

function2()

event:connect(function1, function2)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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