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.

To be unstealeble dosen't work

Discussion in 'Skript' started by Ierdyr, Oct 21, 2019.

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

    Ierdyr Member

    Joined:
    Mar 18, 2019
    Messages:
    14
    Likes Received:
    0
    hi there! I have tryed to make a form of buy script bc there is a server where you can get a mini like server message me if u want to know more! But anyways I can't get the To be unstealeble to work
    Code (Text):
    1. Command /buy:
    2.     trigger:
    3.         open chest with 3 rows named " &b BuyCraft " to player
    4.         wait 1 tick
    5.         set slot 13 of player's current inventory to redstone named "&b Buycraft &7lavet af &9Lauritshejlsted" to be unstealable
    6.  
    7.         wait 35 ticks
    8.         set slot 13 of player's current inventory to air
    9.         wait 10 ticks  
    10.         set slot 16 of player's current inventory to diamond block named "&bOP" with lore "&7Kit &bOP &7giver dig: ||&7Diamond helmet med &bProtection 2||&7Diamind chestplate med &bProtection 2||&7Diamind leggins med &bProtection 2||&7Diamind boots med &bProtection 2||&7Diamind Sword med &bsharpness 2 &7+ &6Fire Aspect 1||&7Diamind helmet med &bProtection||&7bow med &bPower 2 &7 + &b Infinity || &bTryk her hvis du vil købe kittet! || &7Koster &b2500 &7ems"
    11.        
    12.  
    13.         set slot 13 of player's current inventory to nether star named "&d&lMVP-&6&lX" with lore "&7Kit &d&lMVP-&6&lX &7giver dig: ||&7Gold helmet med &dProtection 10||&7Chainmail chestplate med &dProtection 10||&7Chainmail leggins med &dProtection 10||&7Gold boots med &dProtection 10||&7Iron Sword med &dsharpness 7||&7Diamind helmet med &dProtection||&dDU FÅR EN &5&l/MVP&d COMMAND &5&lEXCLUSIVT&d! || &dTryk her hvis du vil købe kittet!|| &7Koster &d5000&7 ems"
    14.        
    15.         set slot 10 of player's current inventory to diamond pickaxe named "&bKAKAO" with lore "&7Kit &bKAKAO &7giver dig: ||&7Diamond helmet med &bProtection 2||&7Diamind chestplate med &bProtection 2||&7Chainmail leggins med &bProtection 2||&7Chainmail boots med &bProtection 2||&7Diamond Sword med &bsharpness 1 &7+ &6Fire Aspect||&7Diamond helmet med &bProtection 2|| &bTryk her hvis du vil købe kittet!|| &7Koster &b750&7 ems"
    16.  

    plz be nice
     
  2. AsuDev

    VIP

    Joined:
    Jan 27, 2017
    Messages:
    243
    Likes Received:
    22
    Use the "on inventory click" event for making them unstealable.
    Example:
    Code (Skript):
    1. on inventory click:
    2.     name of player's current inventory is " &b Buycraft "
    3.     cancel event
     
  3. Brot

    Brot Member

    Joined:
    Aug 12, 2019
    Messages:
    11
    Likes Received:
    0
    Try To Use TuSKe
     
Thread Status:
Not open for further replies.

Share This Page

Loading...