Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Auto clicker for a clicker
- Overworkedcoder
-
1 post
Auto clicker for a clicker
Hello im struggling on how to make an auto clicker for my game it's still in alpha and i need help and i need a code that works universally
- Cool_Dude2022
-
500+ posts
Auto clicker for a clicker
Hello im struggling on how to make an auto clicker for my game it's still in alpha and i need help and i need a code that works universally
While I can't make it universal, as I don't know your variables, I can try to give you a base code. Please attempt to make something before asking for help, and share your project. It's hard to know what you mean without a reference or what you are even attempting to make.
when green flag clicked
forever
if <key [e v] pressed?> then // key to enable/disable
if <(autoclicker) = [off]> then
set [autoclicker v] to [on]
else
set [autoclicker v] to [off]
end
end
end
when green flag clicked
forever
if <(autoclicker) = [on]> then
change [score v] by (1)
wait (1) secs // change this to the delay you desire
end
end
- Discussion Forums
- » Help with Scripts
-
» Auto clicker for a clicker