Chest GUI doesn't works right

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

    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.

Equessy

Member
Dec 13, 2017
13
0
0
Spigot version: 1.8
Skript version: 2.2
Add-ons: SkQuery, Skellett, skRayFall

Code:
code_language.skript:
on rightclick with clock:
    cancel event
    if player is op:
        set {_num} to -1
        open chest with 3 rows named "&2Participants" to player
        loop all players:
            add 1 to {_num}
            format slot {_num} of player with apple named "%loop-player%" with lore "&7Prefix: %{prefix.%loop-player%}%" to close then run [execute player command "tele %loop-player%"]

ezAH90VeQEOr8l3EMO8F8w.png
 
Add

code_language.skript:
Wait 1 tick

Between
code_language.skript:
Open chest
And
code_language.skript:
Loop all player's:

This should fix it

But i don't recomend using format slot please use tuske's gui
 
Status
Not open for further replies.