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 How to add a cooldown to a click skript

Discussion in 'Skript' started by JakeIsNugget, Sep 13, 2020.

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

    JakeIsNugget New Member

    Joined:
    Sep 13, 2020
    Messages:
    8
    Likes Received:
    1
    mc version 1.16.2
    skript version most recent

    This is the skript so far i wanted to add a 3 second cooldown, how could i? also if i could make it so the golden hoe has to be named a certain thing thatd be great :emoji_grinning: (i did the spacing wont show for some reason) edit: only addon i have is skellet

    on right click:
    player is holding golden hoe
    push the player upwards
     
    #1 JakeIsNugget, Sep 13, 2020
    Last edited: Sep 13, 2020
  2. Best Answer:
    Post #2 by Stef Classens, Sep 13, 2020
  3. Stef Classens

    Stef Classens New Member

    Joined:
    Sep 13, 2020
    Messages:
    5
    Likes Received:
    0
    this works for me in 1.16

    i also added a command that gives you the wand so that you dont have to name it in an anvil
     

    Attached Files:

    • leap.sk
      File size:
      502 bytes
      Views:
      451
  4. JakeIsNugget

    JakeIsNugget New Member

    Joined:
    Sep 13, 2020
    Messages:
    8
    Likes Received:
    1
    TYSM
     
  5. Stef Classens

    Stef Classens New Member

    Joined:
    Sep 13, 2020
    Messages:
    5
    Likes Received:
    0
    i uploaded the file because otherwise the tabs wouldnt show
     
  6. JakeIsNugget

    JakeIsNugget New Member

    Joined:
    Sep 13, 2020
    Messages:
    8
    Likes Received:
    1
    now it says you have to wait but the cooldown never resets
    --- Double Post Merged, Sep 13, 2020, Original Post Date: Sep 13, 2020 ---
    nvm there was just improper spacing
    --- Double Post Merged, Sep 13, 2020 ---
    wait nope now nothing happens
    --- Double Post Merged, Sep 13, 2020 ---
    NVM I GOT IT YAY
    --- Double Post Merged, Sep 13, 2020 ---
    i actually have an improvement to ur skript, on second line do "player is holding a golden hoe named "&6Launcher" that way it HAS to be a golden hoe no other item
     
    • Agree Agree x 1
  7. Stef Classens

    Stef Classens New Member

    Joined:
    Sep 13, 2020
    Messages:
    5
    Likes Received:
    0
    -------------------------------------
    alright but the chances someone has another item named &6Launcher are very small
    but good luck with the skript!
     
  8. JakeIsNugget

    JakeIsNugget New Member

    Joined:
    Sep 13, 2020
    Messages:
    8
    Likes Received:
    1
    your one cooldown is letting me do so much! ive made a feather that lets you fly for 5 seconds because of it!
     
    • Like Like x 1
Thread Status:
Not open for further replies.

Share This Page

Loading...