Autoclicker without variable

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.
Sep 8, 2020
2
0
1
17
How do i make this skript without a variable, everytime i take the variable i get a error

on left click:
if {autoclicker} is true:
add 1 to {clicks.%player%}
if {clicks.%player%} >= 25:
send "&c&lUltra &8>> &c%player% might be using &cAutoClicker!!!&f. (&c%{_ping}%&c MS&f)." to all players where [player input has permission "Ultra.logs"]

also at the last line the code couldnt fit and idk how to turn something into code
 
Your error is here, you wrote
Code:
 if {clicks.%player%} >= 25:
instead of
Code:
 if {clicks.%player%} => 25:
[doublepost=1599652336,1599652112][/doublepost]Oh and you are checking the CLICKS of all time, if i click, my click will count to autoclick, if i pass 25 clicks i will be kicked xD, here is your code
Code:
on left click:
    if {autoclicker} is true:
        add 1 to {clicks.%player%}
        wait 1 second
        if {clicks.%player%} >= 25:
            send "&c&lUltra &8>> &c%player% might be using &cAutoClicker!!!&f. (&c%{_ping}%&c MS&f)." to all players where [player input has       permission "Ultra.logs"]
 
Status
Not open for further replies.