Clickable head gui

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

Expel_

New Member
Aug 23, 2020
8
0
1
18
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:
        else if arg-1 is "medlemmer":
            if {bande.eco.%arg-2%} is set:
                wait 3 ticks
                open chest with 5 rows named "&a&lBande medlemmer" to player
                wait 2 ticks
                set {_slot} to 0
                loop {bande.%arg-2%.members::*}:
                    if loop-value parsed as a player is online:
                        set {_player} to loop-value parsed as a player
                        set {_skull} to skull of {_player}
                        format slot {_slot} of player with {_skull} named "&a&l◈ &7%{_player}%" to close then run [send "%loop-value%"]
                    else:
                        set {_player} to {name.%loop-value%}
                        set {_skull} to skull of {_player}
                        format slot {_slot} of player with {_skull} named "&c&l◈ &7%{_player}%" to close then run [send "%loop-value%"]
                    add 1 to {_slot}
 
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:
        else if arg-1 is "medlemmer":
            if {bande.eco.%arg-2%} is set:
                wait 3 ticks
                open chest with 5 rows named "&a&lBande medlemmer" to player
                wait 2 ticks
                set {_slot} to 0
                loop {bande.%arg-2%.members::*}:
                    if loop-value parsed as a player is online:
                        set {_player} to loop-value parsed as a player
                        set {_skull} to skull of {_player}
                        format slot {_slot} of player with {_skull} named "&a&l◈ &7%{_player}%" to close then run [send "%loop-value%"]
                    else:
                        set {_player} to {name.%loop-value%}
                        set {_skull} to skull of {_player}
                        format slot {_slot} of player with {_skull} named "&c&l◈ &7%{_player}%" to close then run [send "%loop-value%"]
                    add 1 to {_slot}
can you give me the full code please? i see no trigger or command. I need the full code please.

thanks
 
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.
 
Status
Not open for further replies.