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
 

Re: Can you pass variables through events?

Previous Thread :: Next Thread 
yar890 is not online. yar890
Joined: 10 Apr 2013
Total Posts: 166
13 Feb 2017 01:27 PM
Is it possible to send variables via events? EG: "script.parent.mouse1buttonclick:connect(OnClick("This is a text"))"
Report Abuse
KritikalGunzz is not online. KritikalGunzz
Joined: 10 Nov 2013
Total Posts: 1633
13 Feb 2017 01:30 PM
do

script.Parent.MouseButton1Click:Connect(function()
OnClick("This is a text")
end)

you cant do what your saying
Report Abuse
Mister_Manakin is not online. Mister_Manakin
Joined: 16 Sep 2009
Total Posts: 1935
13 Feb 2017 01:30 PM
some events like .Touched and .MouseClick can
Report Abuse
yar890 is not online. yar890
Joined: 10 Apr 2013
Total Posts: 166
13 Feb 2017 01:33 PM
Ok, Just wanted to know if it was possible (I have 3 buttons which does the same thing, except 1 variable is different for each button).
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