Solved can't make player execute command ""

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

NazriGenfil

Member
Jul 16, 2017
2
1
0
24
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:
command /warp:
    trigger:
        wait 1 ticks
        open chest inventory with 1 row named "&6Warp Menu" to player
        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
 
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:
command /warp:
    trigger:
        wait 1 ticks
        open chest inventory with 1 row named "&6Warp Menu" to player
        set slot 1 of player's current inventory to Grass named "survival" to close make player's execute command "/warps survival"

here the error
View attachment 3536
I think you're looking for a GUI manager, such as TuSKe (GUI manager tutorial here)
 
I think you're looking for a GUI manager, such as TuSKe (GUI manager tutorial here)
Thankssss that workkk

this my new skript
Code:
command /connect:
    trigger:
        create a gui with virtual chest with 6 rows named "&4Select the server":
            make next gui with diamond sword named "&4PvP server":
                send "You will be teleported to the Pvp server"
                execute player command "/spawn"
            make next gui with grass named "&aSkyBlock":
                send "You will be teleported to the Skyblock server"
                execute player command "/spawn"
        open last gui to player
 
Last edited:
  • Like
Reactions: TPGamesNL
Status
Not open for further replies.