so this is for so poeple cant use auto clicker but i cant figure out where to add a wait so people cant do that
function clicked()
print("hi")
end
script.Parent.Activated:Connect(clicked)
so this is for so poeple cant use auto clicker but i cant figure out where to add a wait so people cant do that
function clicked()
print("hi")
end
script.Parent.Activated:Connect(clicked)
You would make a debounce.
local clickable = true
script.Parent.Activated:Connect(function()
if clickable then
clickable = false
print("Clicked!")
wait(1)
clickable = true
end
end)
It basically waits until you can click again by adding a bool value :)
This discussion is preserved as it was. New answers, comments, and votes are closed.