of     1   

C_Sharper
#149917863Monday, November 17, 2014 1:17 AM GMT

I need some example code for.. Something that checks when the last time you clicked the button is. Like, if you double click the button really fast, it calls a function.
JarodOfOrbiter
#149918030Monday, November 17, 2014 1:19 AM GMT

local TimeBetween = 0.25 local LastClick = tick() function Clicked() local Time = tick() if Time - LastClick <= TimeBetween then --Do stuff end LastClick = Time end
C_Sharper
#149921368Monday, November 17, 2014 2:03 AM GMT

Thanks.

    of     1