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!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved Need Help With This code

Discussion in 'Requests' started by Vertixx, Jul 29, 2021.

  1. Vertixx

    Vertixx Member

    Joined:
    Jul 29, 2021
    Messages:
    1
    Likes Received:
    0
    command /opengui:
    trigger:
    open chest with 5 rows named "&8Buy Cosmetics" to player
    format slot 19 of player with Bone named "&2&lPets" to close then run [execute console command "/petsmenu"]
    format slot 21 of player with Nether Star named "&b&lPartical Effects" to be unstealable
    format slot 23 of player with Golden Helmet named "&b&lHats" to be unstealable
    format slot 25 of player with Pumpkin named "&6&lEmotes" to be unstealable

    command /petsmenu:
    trigger:
    open chest with 5 rows named "&8Pets Menu" to player
    format slot 0 of player with Blaze Powder named "&b&lFire" to be unstealable


    it should open another chest gui but it doesnt



     
  2. Best Answer:
    Post #2 by alexistb2904, Jul 29, 2021
  3. alexistb2904

    alexistb2904 New Member

    Joined:
    Jul 27, 2021
    Messages:
    8
    Likes Received:
    1
    You write execute console command "/petsmenu" but you need the menu open FOR YOU so write execute player command "/petsmenu"
     
  4. Minecoll_YT

    Supporter Forums Helper

    Joined:
    Dec 2, 2018
    Messages:
    650
    Likes Received:
    39
    1. Wrong section, please use this one next time
    2. Use code block to post your code
    3. Don't use SkQuery GUIs
    4. @alexistb2904 answer is correct
     

Share This Page

Loading...