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 our 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 everyone say something

Discussion in 'Skript' started by D0XY, May 23, 2018.

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

    D0XY Active Member

    Joined:
    May 4, 2018
    Messages:
    35
    Likes Received:
    0
    Skript Version: 2.2
    Minecraft Version: 1.7.10 and 1.8.9

    Code:
    Code (Skript):
    1. command /guccigang:
    2.     permission: guccigang.use
    3.     permission message: &cyou ain't got any perms buddy L
    4.     trigger:
    5.         loop all players:
    6.             make loop-players say "Gucci Gang"
    7.             execute console command "title @a title {text:'Gucci Gang',color:'red',bold:true}"
    8.             wait 12 ticks
    9.             make loop-players say "Gucci Gang"
    10.             execute console command "title @a title {text:'Gucci Gang',color:'light_purple',bold:true}"
    11.             wait 12 ticks
    12.             make loop-players say "Gucci Gang"
    13.             execute console command "title @a title {text:'Gucci Gang',color:'yellow',bold:true}"
    14.             wait 12 ticks
    15.             make loop-players say "Gucci Gang"
    16.             execute console command "title @a title {text:'Gucci Gang',color:'green',bold:true}"
    17.             wait 12 ticks
    18.             make loop-players say "Gucci Gang"
    19.             execute console command "title @a title {text:'Gucci Gang',color:'aqua',bold:true}"
    20.             wait 12 ticks
    21.             make loop-players say "Gucci Gang"
    22.             execute console command "title @a title {text:'Gucci Gang',color:'dark_aqua',bold:true}"
    23.             wait 12 ticks
    24.             execute console command "title @a title {text:'Gucci Gang',color:'blue',bold:true}"
    25.             make loop-players say "Gucci Gang"
    26.             wait 6 ticks
    27.             execute console command "title @a title {text:'Gucci',color:'blue',bold:true}"
    28.             wait 6 ticks
    29.             execute console command "title @a title {text:'Gang',color:'light_purple',bold:true}"
    30.             make loop-players say "Gucci Gang"
    31.             wait 6 ticks
    32.             execute console command "title @a title {text:'Gucci',color:'gold',bold:true}"
    33.             wait 6 ticks
    34.             execute console command "title @a title {text:'Gang',color:'dark_red',bold:true}"
    35.             make loop-players say "Gucci Gang"
    36.             wait 6 ticks
    37.             execute console command "title @a title {text:'Gucci',color:'gray',bold:true}"
    38.             wait 6 ticks
    39.             execute console command "title @a title {text:'Gang',color:'dark_gray',bold:true}"
    40.             make loop-players say "Gucci Gang"
    41.             wait 6 ticks
    42.             execute console command "title @a title {text:'Gucci',color:'green',bold:true}"
    43.             wait 6 ticks
    44.             execute console command "title @a title {text:'Gang',color:'yellow',bold:true}"
    45.             make loop-players say "Gucci Gang"
    46.             wait 15 ticks
    47.             execute console command "title @a reset"
    48.         stop
    49.  
    No errors on reload.
    No console errors.

    Add-ons:

    skQuery
    skRayFall (I don't think this is needed)
    Umbaska (I don't think this is needed)

    Problem:
    The problem was when 2 players or more are on, it does the whole Skript for each player. Here's a picture:

    Gucci Gang Skript.png

    Yes I got this command idea from the /loganpaul video LOL

     
  2. Best Answer:
    Post #4 by DieHollander_, May 24, 2018
  3. JustADev

    JustADev Well-Known Member

    Joined:
    Apr 8, 2017
    Messages:
    380
    Likes Received:
    9
    change loop-players to just "loop-player"
     
  4. D0XY

    D0XY Active Member

    Joined:
    May 4, 2018
    Messages:
    35
    Likes Received:
    0
    Already tried that, didn't work
     
  5. DieHollander_

    DieHollander_ Well-Known Member

    Joined:
    Mar 25, 2018
    Messages:
    171
    Likes Received:
    12
    When you loop a players and add delay to it, it will delay every time you loop a player.
    For example
    Code (Skript):
    1. loop all players:
    2.     make loop-player say "hi"
    3.     wait 1 second
    That will wait 1 second after 1 player is looped.

    So you have to use loop-player several times.
    For example
    Code (Skript):
    1. loop all players:
    2.     make loop-player say "message1"
    3. wait 12 tick
    4. loop all players:
    5.     make loop-player say "message2"
    6. Etc.
    7.  
    A think you could also do is this (I'm not sure if this is working)
    Code (Skript):
    1. make all players say "message 1"
    2. wait 12 tick
    3. make all players say "message 2"
    I prefer you to choose this one if it is working, this because it causes less lag.

    - DieHollander
     
    #4 DieHollander_, May 24, 2018
    Last edited: May 24, 2018
  6. J

    Jordan Member

    Joined:
    Jan 25, 2017
    Messages:
    186
    Likes Received:
    12
    Yes I got this command idea from the /loganpaul video LOL???????????????????

    I'm not bent nor am i 9 years old so i've no clue what this means
     
  7. D0XY

    D0XY Active Member

    Joined:
    May 4, 2018
    Messages:
    35
    Likes Received:
    0
    I'm 14 fyi

    There was a video uploaded by Spifey and it was /loganpaul and it made every person on the server say the lyrics of one of his songs
     
  8. Kyrizmo

    Kyrizmo Member

    Joined:
    Jun 6, 2018
    Messages:
    2
    Likes Received:
    0
    @D0XY Maybe this will solve it?

    Code (Skript):
    1. command /guccigang:
    2.     permission: guccigang.yell
    3.     permission message: &cYou cannot execute this command!
    4.     trigger:
    5.         make all players say "Gucci Gang"
    6.         stop
     
Thread Status:
Not open for further replies.
Loading...