Quick question.

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

Tylers31

Member
Jan 26, 2020
2
0
0
Hey, i was wondering what the script was for skript to run a command. So ive set up a skript.
command /gui:
trigger:
open chest with 3 row named "&7Menu" to player
format gui slot 0 of player with shiny diamond named "&7Spawn" to run:
spawn player

Whenever i execute the script. It says "&7&lSpawn" to run' is not a text.
Please let me know what it means by that.
 
Code:
command /gui:
    trigger:
        open chest with 3 row named "&7Menu" to player
        wait 5 ticks
        format slot 0 of player with shiny diamond sword named "&7SPAWN" to close then run "spawn"
Here you go if it works close thread :emoji_slight_smile:
EDIT: you want to run &7&lSPAWN what is not a command :emoji_stuck_out_tongue:
 
Panhack when i click the diamond sword. It just closes the gui and doesnt tp me to spawn.
ok let me fix it Quickly for you
[doublepost=1580052935,1580052798][/doublepost]
Code:
command /gui:
    trigger:
        open chest with 3 row named "&7Menu" to player
        wait 5 ticks
        format slot 0 of player with shiny diamond sword named "&7SPAWN" to close then run "spawn %player%"
Check it
 
Status
Not open for further replies.