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: Whats the function for double clicking?

Previous Thread :: Next Thread 
superpants2020 is not online. superpants2020
Joined: 10 Feb 2013
Total Posts: 804
30 Apr 2017 09:47 AM
Like Button1Down but you click it twice idk what its called. Or a method to checking if its clicked twice.
Report Abuse
AIicks is not online. AIicks
Joined: 10 Apr 2012
Total Posts: 788
30 Apr 2017 09:53 AM
idk if there's a better solution, and you'll want a debounce

local table = 0
OnClickedOrWhatever:Connect(function()
table = table + 1
if table = 2 then
doubleclickedig()
table = 0
end
end)


#code --This validates my comment.
Report Abuse
AIicks is not online. AIicks
Joined: 10 Apr 2012
Total Posts: 788
30 Apr 2017 09:53 AM
and don't call it table.


#code --This validates my comment.
Report Abuse
superpants2020 is not online. superpants2020
Joined: 10 Feb 2013
Total Posts: 804
30 Apr 2017 09:57 AM
what does table mean?
Report Abuse
superpants2020 is not online. superpants2020
Joined: 10 Feb 2013
Total Posts: 804
30 Apr 2017 09:58 AM
do you mean the table i set for the animations?
Report Abuse
AIicks is not online. AIicks
Joined: 10 Apr 2012
Total Posts: 788
30 Apr 2017 09:58 AM
it's just a variable. But I did a big stupid as table is also a Lua library whatever thingy.


#code --This validates my comment.
Report Abuse
AIicks is not online. AIicks
Joined: 10 Apr 2012
Total Posts: 788
30 Apr 2017 09:58 AM
what the ---- does animations have to do with this.


#code --This validates my comment.
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