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 Tuske

Discussion in 'Skript' started by OGContent, Feb 22, 2021.

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

    OGContent Member

    Joined:
    Feb 22, 2021
    Messages:
    4
    Likes Received:
    0
    how can i fix it so the player cant steal in the gui?
    --- Double Post Merged, Feb 22, 2021, Original Post Date: Feb 22, 2021 ---
    this is what i have``


    variables:
    {frame} = white stained glass pane

    command /menu:
    trigger:
    open virtual chest inventory named "&b&lDiaMines &9&lMenu" to player
    format gui slot 0 and 1 and 2 and 3 and 5 and 6 and 7 and 8 and 9 and 10 and 11 and 15 and 16 and 17 and 18 and 19 and 20 and 21 and 23 and 24 and 25 and 26 and 27 of player with {frame} named " "
    format gui slot 22 of player with barrier named "&c&lClose" to close
    format gui slot 4 of player with stone pickaxe named "&lmining skill" to run player command "/skills"
    format gui slot 12 of player with nether star named "&2&ltravel" to run player command "/travel"
    format gui slot 14 of player with ender chest named "&c&lvault" to run player command "/pv 1"
    format gui slot 13 of player with iron pickaxe named "mining progression" to run player command "/mining"
     
  2. Marc

    Marc Active Member

    Joined:
    Nov 27, 2020
    Messages:
    94
    Likes Received:
    0
    first use code boxes with [.CODE] code [./CODE] (ofc without the periods)

    and second
    Code (Text):
    1. open virtual chest inventory with 3 rows named "blah blah" to player
    and third
    Code (Text):
    1. format gui slot 1,2,3,4,5 and 6 to player with white stained glass pane named "blah" to do nothin
    Only the last number should have "and *number*" not all of them

    and remember to share errors so we can solve problems easier, aka indentions errors etc.
     
  3. OGContent

    OGContent Member

    Joined:
    Feb 22, 2021
    Messages:
    4
    Likes Received:
    0
    Oh ok thanks but again how to fix the when you do /menu ppl can shift+right click i
    ya but items are stealable so how can I fix that
     
  4. couger44

    Supporter

    Joined:
    Feb 19, 2017
    Messages:
    714
    Likes Received:
    31
    Well, i prefer to use Vanilla inventories. But if i remember correctly, for TuSKe it was something like this:
    Code (Skript):
    1. format a gui slot 0 of player with grass block to do nothing #Or the block you want.
     
  5. Marc

    Marc Active Member

    Joined:
    Nov 27, 2020
    Messages:
    94
    Likes Received:
    0
    No theres no a between format or gui, But ill start learning vanilla gui's
     
  6. couger44

    Supporter

    Joined:
    Feb 19, 2017
    Messages:
    714
    Likes Received:
    31
    What do you mean?
     
  7. Marc

    Marc Active Member

    Joined:
    Nov 27, 2020
    Messages:
    94
    Likes Received:
    0
    Im pretty sure the a shouldnt be there?
     
Thread Status:
Not open for further replies.

Share This Page

Loading...