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.

Help needed to add some stuff to a /keyall command

Discussion in 'Skript' started by 3dpixelartman, Sep 21, 2021.

Thread Status:
Not open for further replies.
  1. 3dpixelartman

    3dpixelartman Member

    Joined:
    Jun 23, 2021
    Messages:
    22
    Likes Received:
    0
    Hi! My friend gave me a /keyall skript but it was missing some stuff like a cooldown, permission and a brodcast. Can anyone help add them to this code?

    command /coalkeyall:
    trigger:
    make player execute command "crates give all coal 1"

    btw can you make the permission keyall.coal and a 23 hour cooldown please? Im new to coding skript so thanks for the help!
     
  2. Mr_Allawi_

    Mr_Allawi_ Member

    Joined:
    Sep 20, 2021
    Messages:
    12
    Likes Received:
    0
    Code (Text):
    1. command /coalkeyall:
    2.   cooldown: 5 minate
    3.   cooldown message: &cYou have to wait 5 minute before using that again!
    4.   cooldown bypass: keyall.coal
    5.   permission: keyall.coal
    6.   permission message: &cYou don't have permission to use that
    7.   trigger:
    8.     execute console command "/crates give all coal 1"
    9.     broadcast "&bEveryone has been given a coal key by &6%player%"
     
    #2 Mr_Allawi_, Sep 22, 2021
    Last edited: Sep 22, 2021
  3. 3dpixelartman

    3dpixelartman Member

    Joined:
    Jun 23, 2021
    Messages:
    22
    Likes Received:
    0
    thanks!
     
Thread Status:
Not open for further replies.

Share This Page

Loading...