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

  • 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!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Pup_lboo

Member
Mar 15, 2022
13
0
1
23
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"
 
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

If you can, can you put your code into a pastebin or using the CODE insert.
 
[doublepost=1647566306,1647566193][/doublepost]this
[doublepost=1647566357][/doublepost]idk why is file
[doublepost=1648592537][/doublepost]
Code:
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 players
        remove all golden horse armor from players
        remove all iron horse armor from players
        teleport all players to location (-16.7, 59, 5.3)
        wait 200 ticks
        give all players iron horse armor named "&7Pistol"
        player has permission "{ak}":
            wait 3 ticks
            give player golden horse armor named "&6Ak-47"
        player has permission "{op}":
            wait 3 ticks
            give player diamond horse armor named "&bShotGun"
        player has permission "{SR}":
            wait 3 ticks
            give player diamond horse armor named "&2Sniper Rifle"
[doublepost=1648592569][/doublepost]fixed
 

Attachments

  • z6B31s2e (1).txt
    742 bytes · Views: 92
Status
Not open for further replies.