|
| 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
|
  |
| 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
|
  |
| 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 |
|
|
| |
|
|
| 30 Apr 2017 09:58 AM |
do you mean the table i set for the animations?
|
|
|
| Report Abuse |
|
|
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
|
  |
| 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 |
|
|