So currently if you turn on an auto clicker on a textbutton there is no delay (or very small) between the clicks. How do I make it so there is a 1-second delay?
✓ ANSWER ACCEPTED
How do I add a delay before you can click again in a textbutton?
1 answer
✓ Accepted answer
You can add a variable debounce.
Example
debounce = false
TextLabel.MouseButton1Click:Connect(function()
if debounce then return end
--code here
debounce = true
wait(1)
end)
gah. i think this works edit: last code was for a clickdetector, i'm blind.
2 comments
0
oops didn't see the textlabel bit
0
Thanks this helped alot!
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
You could add a debounce and set it to false when clicked, wait(1) and back to true so it can be clickable again
http://wiki.roblox.com/index.php?title=Debounce