I Don't know if this is possible...

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

bobby2002

Active Member
Nov 24, 2017
50
0
0
21
is it possible to make one slot in a GUI swap while the player is in the inventory like every 1 second it will go to yellow and then blue? if it is I am using Tuske for my GUI.
 
ya
code_language.skript:
on player open your gui:
    while player's inventory is the gui:
        if slot whatever is yellow glass:
            set the slot to blue glass
        else:
            set the slot to yellow glass
        wait 1 second
 
ya
code_language.skript:
on player open your gui:
    while player's inventory is the gui:
        if slot whatever is yellow glass:
            set the slot to blue glass
        else:
            set the slot to yellow glass
        wait 1 second
thanks, but i dont understand that
 
when a player opens the gui make a loop that runs while they have the gui open which checks if the item in whatever slot is yellow, if it is set it to blue, else set it to yellow
 
Status
Not open for further replies.