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.

Clickable head gui

Discussion in 'Skript' started by Expel_, Jan 29, 2021.

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

    Expel_ New Member

    Joined:
    Aug 23, 2020
    Messages:
    8
    Likes Received:
    0
    i have this code which can show more than 1 head in the menu but when i click on it. I just get the message of 1 of the players however i click on the other person.


    Code (Text):
    1.         else if arg-1 is "medlemmer":
    2.             if {bande.eco.%arg-2%} is set:
    3.                 wait 3 ticks
    4.                 open chest with 5 rows named "&a&lBande medlemmer" to player
    5.                 wait 2 ticks
    6.                 set {_slot} to 0
    7.                 loop {bande.%arg-2%.members::*}:
    8.                     if loop-value parsed as a player is online:
    9.                         set {_player} to loop-value parsed as a player
    10.                         set {_skull} to skull of {_player}
    11.                         format slot {_slot} of player with {_skull} named "&a&l◈ &7%{_player}%" to close then run [send "%loop-value%"]
    12.                     else:
    13.                         set {_player} to {name.%loop-value%}
    14.                         set {_skull} to skull of {_player}
    15.                         format slot {_slot} of player with {_skull} named "&c&l◈ &7%{_player}%" to close then run [send "%loop-value%"]
    16.                     add 1 to {_slot}
     
  2. FireRoz

    FireRoz Active Member

    Joined:
    May 28, 2020
    Messages:
    134
    Likes Received:
    6
    can you give me the full code please? i see no trigger or command. I need the full code please.

    thanks
     
  3. SkriptLearner

    SkriptLearner Member

    Joined:
    Jul 21, 2019
    Messages:
    45
    Likes Received:
    0
    Hey Expel_,

    Seeing as your code is very specific to other code which you haven't provided it's really hard to assist you!

    I hope we can help you.
     
Thread Status:
Not open for further replies.

Share This Page

Loading...