Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Is there a way to have an automatic click detector?

I'm still relatively new to scripting but I have a basic understanding and I was curious if there was a way to check if a condition is true then have a click detector automatically activate on a loop.

1 answer

Or you can just not have a click detector and just use a loop.

while true do
	--code here be sure to add a wait() or some sort in case it lags
end

6 comments

0

I want it to be a click detector until a statement is true though

0

why do you want it to be a click detector??

0

I'm trying to make a clicker game but i want the player to be able to purchase something to make it automatic

0

then use a while loop.

0

just keep adding the value, the clickdetector thing doesn't really have relevancy to it

0

I'll give it a shot, thanks for the suggestion

This discussion is preserved as it was. New answers, comments, and votes are closed.