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.

Click on a item to open something

Discussion in 'Skript' started by D3adEy3, Jan 2, 2021.

Tags:
Thread Status:
Not open for further replies.
  1. D3adEy3

    D3adEy3 Member

    Joined:
    Jan 1, 2021
    Messages:
    2
    Likes Received:
    0
    The error is: "when right click on nether_star"

    when right click on nether_star:
    trigger:
    open virtual chest inventory with size 6 named "&e&lMENU" to player
    format gui slot 4 of player with skull of player named "&e%player%"
    format gui slot 10 of player with diamond named "&bHub" to run:
    execute player command "/spawn"
    send "&aYou got teleported to Hub"

    format gui slot 16 of player with diamond_sword named "&b&lDuels" to run:
    execute player command "/warp Duels"
    send "&aYou got teleported to Duels" to player

    format gui slot 31 of player with crafting_table named "&b&lParkour" to run:
    execute player command "/warp Parkour"
    send "&aYou got teleported to Parkour" to player
     
  2. Jakkeren

    Supporter

    Joined:
    Mar 23, 2017
    Messages:
    63
    Likes Received:
    3
    You need to use:
    Code (Text):
    1. on right click with nether star:
    Also, triggers are only used for commands, meaning you shouldn't put it there.
     
Thread Status:
Not open for further replies.

Share This Page

Loading...