1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved Skript force click

Discussion in 'Skript' started by ItzarReal, Dec 15, 2020.

Thread Status:
Not open for further replies.
  1. ItzarReal

    ItzarReal Member

    Joined:
    Oct 21, 2020
    Messages:
    19
    Likes Received:
    0
    Is there a way to force a player to click? heres my code:
    Code (Text):
    1.  
    2. on chat:
    3.     if message is "!autoclicker":
    4.         make player click 50 times #this is whats wrong
    5.  
    if there are any addons i need, please tell me.
    edit: i can use
    Code (Text):
    1.  
    2. on chat:
    3.     if message is "!autoclicker":
    4.         loop players in radius 5 of player:
    5.             make player attack loop-player
    6.  
     
    #1 ItzarReal, Dec 15, 2020
    Last edited: Dec 15, 2020
  2. acai

    acai Active Member

    Joined:
    Oct 23, 2020
    Messages:
    89
    Likes Received:
    1
    There are many posts exactly like this.
    Your code is... completely wrong, there is no "make player click x times".
    Try using thatpacketaddon, it can click for you by packets (won't show animation)
    There also is no "if message is", only "if message contains".
     
  3. ItzarReal

    ItzarReal Member

    Joined:
    Oct 21, 2020
    Messages:
    19
    Likes Received:
    0
    i used skquery for this, i did
    Code (Text):
    1. make player damage loop-player by 1
    with a loop.
     
  4. greenoliverr07

    Joined:
    Feb 4, 2021
    Messages:
    1
    Likes Received:
    0
    Hello,

    Why do you want to code the autoclicker?

    There are already lots of autoclicker software are available on the Internet. I am also using the autoclicker for a very long time. Playing incremental games with autoclicker is really fun.

    Also, for further information, you can refer to this: source.
     
Thread Status:
Not open for further replies.

Share This Page

Loading...