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: Can you make a ClickDetector that works for right click?

Previous Thread :: Next Thread 
ShadowKnight619ALT is not online. ShadowKnight619ALT
Joined: 25 Mar 2011
Total Posts: 102
21 Dec 2011 01:29 PM
I want to make a script so that when you left click it shows up, when you right click it disappears. Can this be done?
Report Abuse
grimm343 is not online. grimm343
Joined: 18 Sep 2008
Total Posts: 2796
21 Dec 2011 01:33 PM
Well, right clicks, as far as I know, are only usable in GUI's, right now.
The reason for this is that the right mouse controls the camera, which is not controllable while in a GUI, via Button2Down.
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
21 Dec 2011 01:35 PM
@creator

This goes with what grimm said

Can you? No, well, I don't think so. If you try to look it up in events wiki. Other than that the best thing for you to do is when you click it wait 5 seconds before it closes again.
Report Abuse
grimm343 is not online. grimm343
Joined: 18 Sep 2008
Total Posts: 2796
21 Dec 2011 01:40 PM
Actually, I would say a toggle button would be the best. :P
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
21 Dec 2011 01:57 PM
I just say using a wait .... Less work.
Report Abuse
grimm343 is not online. grimm343
Joined: 18 Sep 2008
Total Posts: 2796
21 Dec 2011 01:58 PM
What if you want to keep it open until you click it, again? :o

You can even make it change color.. Make it move up and down, in a small loop, to signify pushing it down.

To keep it from being clicked while running, add a deboucne and change the MaxActivationDistance to 0.
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