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.

Solved can't make player execute command ""

Discussion in 'Skript' started by NazriGenfil, Jun 19, 2019.

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

    NazriGenfil Member

    Joined:
    Jul 16, 2017
    Messages:
    2
    Likes Received:
    1
    hello, I made a gui script, to open the chast it can, but inside it is nothing, how can the way to fill the chast and the block in the chast can be clicked to make the player execute the command ???

    server Version : 1.14
    skript version : Skript2.4-alpha3
    Sorry for bed engglis :emoji_slight_smile:

    Here is the code
    Code (Text):
    1. command /warp:
    2.     trigger:
    3.         wait 1 ticks
    4.         open chest inventory with 1 row named "&6Warp Menu" to player
    5.         set slot 1 of player's current inventory to Grass named "survival" to close make player's execute command "/warps survival"
    here the error
    2019-06-19_12.27.55.png
     
  2. Best Answer:
    Post #2 by TPGamesNL, Jun 19, 2019
  3. TPGamesNL

    Supporter Addon Developer Dev Programme

    Joined:
    Jan 20, 2018
    Messages:
    1,501
    Likes Received:
    107
    Medals:
    I think you're looking for a GUI manager, such as TuSKe (GUI manager tutorial here)
     
  4. NazriGenfil

    NazriGenfil Member

    Joined:
    Jul 16, 2017
    Messages:
    2
    Likes Received:
    1
    Thankssss that workkk

    this my new skript
    Code (Text):
    1. command /connect:
    2.     trigger:
    3.         create a gui with virtual chest with 6 rows named "&4Select the server":
    4.             make next gui with diamond sword named "&4PvP server":
    5.                 send "You will be teleported to the Pvp server"
    6.                 execute player command "/spawn"
    7.             make next gui with grass named "&aSkyBlock":
    8.                 send "You will be teleported to the Skyblock server"
    9.                 execute player command "/spawn"
    10.         open last gui to player
     
    #3 NazriGenfil, Jun 19, 2019
    Last edited: Jun 19, 2019
    • Like Like x 1
Thread Status:
Not open for further replies.

Share This Page

Loading...