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!

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

need cooldowns added to my skript

Discussion in 'Requests' started by 3dpixelartman, Feb 19, 2022.

  1. 3dpixelartman

    3dpixelartman Member

    Jun 23, 2021
    Likes Received:
    Code (Text):
    1. options:
    2.     blacklist: command block and bedrock and repeating command block and debug stick and player head and wither skeleton skull and barrier and nether star
    3.     prefix: &dMinidupe
    5. command /dupe [<number>]:
    6.     trigger:
    7.         if {@blacklist} contains type of tool:
    8.             send "{@prefix} &3| &3You cannot dupe that item!"
    9.             stop
    10.         else:
    11.             if arg-1 is not set:
    12.                 add player's tool to player's inventory
    13.                 stop
    14.             else:
    15.                 if arg-1 is less than 2:
    16.                     add player's tool to player's inventory
    17.                     stop
    18.                 else:
    19.                     if arg-1 is more than 5:
    20.                         loop 6 times:
    21.                             add player's tool to player's inventory
    22.                         stop
    23.                     else:
    24.                         loop arg-1 times:
    25.                             add player's tool to player's inventory
    need a 5s cooldown added with a cooldown bypass of vip.0 can anyone help

Share This Page