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: Any way to fix button getting pressed twice?

Previous Thread :: Next Thread 
cooldaniel234 is not online. cooldaniel234
Joined: 21 Aug 2010
Total Posts: 921
10 May 2017 09:03 PM
The button is supposed to be pressed only once.

But if 2 people press it at the same time, then it will be pressed twice.


Any way to fix this?


Report Abuse
cooldaniel234 is not online. cooldaniel234
Joined: 21 Aug 2010
Total Posts: 921
10 May 2017 09:09 PM
I know like 10 people saw this already.

bump c;


Report Abuse
nullfeels is not online. nullfeels
Joined: 31 Mar 2017
Total Posts: 1215
10 May 2017 09:11 PM
Google Roblox debounce.
Report Abuse
cooldaniel234 is not online. cooldaniel234
Joined: 21 Aug 2010
Total Posts: 921
10 May 2017 09:42 PM
Dude.



Report Abuse
blanman is not online. blanman
Joined: 15 Mar 2008
Total Posts: 1750
10 May 2017 10:02 PM
If adding a debounce won't work - is it because the button is running client-sided or something?


a 'debounce' is just an easy way to make sure that the button won't let itself be pressed a second time.

You can't stop the onTouch from happening twice, but you can make the button smart enough to know not to activate twice.
Report Abuse
Chronomaton is online. Chronomaton
Joined: 02 Feb 2012
Total Posts: 3461
10 May 2017 10:04 PM
Add a cooldown perhaps until a player can click it again.
Report Abuse
Cyrakohl is not online. Cyrakohl
Joined: 09 Nov 2014
Total Posts: 3197
10 May 2017 10:27 PM
@blan Are you dumb guis are meant to be client side lol.


R$10,012
Report Abuse
128Gigabytes is not online. 128Gigabytes
Joined: 17 Apr 2014
Total Posts: 3616
10 May 2017 10:29 PM
@Cyrakohl Are you dumb because no one mentioned guis before you.
Report Abuse
Cyrakohl is not online. Cyrakohl
Joined: 09 Nov 2014
Total Posts: 3197
10 May 2017 10:30 PM
Im persuming by "button" he means a textbutton.


R$10,012
Report Abuse
Cyrakohl is not online. Cyrakohl
Joined: 09 Nov 2014
Total Posts: 3197
10 May 2017 10:30 PM
Correct me if im wrong.


R$10,012
Report Abuse
128Gigabytes is not online. 128Gigabytes
Joined: 17 Apr 2014
Total Posts: 3616
10 May 2017 10:39 PM
So you call him dumb because of something _you_ assumed?
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