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.

anvil inventory item

Discussion in 'Skript' started by Obiezione, Dec 5, 2022.

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

    Obiezione Member

    Joined:
    Apr 24, 2022
    Messages:
    4
    Likes Received:
    0
    hello, I wanted to make a skript in which if I clicked with an object on an event block an anvil gui opened for me in which there was a piece of paper inside, but I can't do it.

    this is the skript:

    Code (Text):
    1. on rightclick on black glazed terracotta:
    2.     if player's tool is a book named "&fCarta &7Standard":
    3.         open anvil inventory named "&8Inserisci il PIN" to player
    4.         set slot 1 of player's current inventory to paper named "Inserisci il PIN"
    5.  
     
  2. Witho

    Witho New Member

    Joined:
    Dec 6, 2022
    Messages:
    7
    Likes Received:
    0
    this code works for me, perhaps it is a plugin that you aren't using
     
  3. Obiezione

    Obiezione Member

    Joined:
    Apr 24, 2022
    Messages:
    4
    Likes Received:
    0
    also the last line? because only the anvil gui works for me, but it doesn't put the paper in the gui
     
  4. Merrical

    Supporter

    Joined:
    Jul 27, 2020
    Messages:
    29
    Likes Received:
    3
    You might have an addon this disables scripts vanilla GUI creation.
     
Thread Status:
Not open for further replies.

Share This Page

Loading...