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.

make it so when someone uses the command it checks all player for perms

Discussion in 'Skript' started by Pup_lboo, Mar 16, 2022.

Tags:
Thread Status:
Not open for further replies.
  1. Pup_lboo

    Pup_lboo Member

    Joined:
    Mar 15, 2022
    Messages:
    13
    Likes Received:
    0
    im trying to make it so when someone does /start it gives everyone the correct item
    it works for whoever is the one who does /start but the anyone else any help whould be appreciated


    command /start:
    cooldown : 1 minute
    cooldown message: "please wait to start"
    trigger:
    kill all arrows
    remove all arrow from player
    remove all diamond horse armor from player
    remove all golden horse armor from player
    remove all iron horse armor from player
    teleport all players to location (-14.7, 59, 4.3)
    wait 200 ticks
    give all players iron horse armor named "&7Pistol"
    player has permission "{ak}":
    wait 3 ticks
    remove all iron horse armor from player
    give player golden horse armor named "&6Ak-47"
    player has permission "{op}":
    wait 5 ticks
    remove all iron horse armor from player
    remove all golden horse armor from player
    give player diamond horse armor named "&bOp Gun"
     
  2. ryanrox333

    ryanrox333 Member

    Joined:
    Jul 6, 2019
    Messages:
    17
    Likes Received:
    0
    If you can, can you put your code into a pastebin or using the CODE insert.
     
  3. Pup_lboo

    Pup_lboo Member

    Joined:
    Mar 15, 2022
    Messages:
    13
    Likes Received:
    0
    --- Double Post Merged, Mar 18, 2022, Original Post Date: Mar 18, 2022 ---
    this
    --- Double Post Merged, Mar 18, 2022 ---
    idk why is file
    --- Double Post Merged, Mar 29, 2022 ---
    Code (Text):
    1. command /start:
    2.     cooldown : 1 minute
    3.     cooldown message: "please wait to start"
    4.     trigger:
    5.         kill all arrows
    6.         remove all arrow from player
    7.         remove all diamond horse armor from players
    8.         remove all golden horse armor from players
    9.         remove all iron horse armor from players
    10.         teleport all players to location (-16.7, 59, 5.3)
    11.         wait 200 ticks
    12.         give all players iron horse armor named "&7Pistol"
    13.         player has permission "{ak}":
    14.             wait 3 ticks
    15.             give player golden horse armor named "&6Ak-47"
    16.         player has permission "{op}":
    17.             wait 3 ticks
    18.             give player diamond horse armor named "&bShotGun"
    19.         player has permission "{SR}":
    20.             wait 3 ticks
    21.             give player diamond horse armor named "&2Sniper Rifle"
    --- Double Post Merged, Mar 29, 2022 ---
    fixed
     

    Attached Files:

Thread Status:
Not open for further replies.

Share This Page

Loading...