To be unstealeble dosen't work

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

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

Ierdyr

Member
Mar 18, 2019
14
0
0
34
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:
Command /buy:
    trigger:
        open chest with 3 rows named " &b BuyCraft " to player
        wait 1 tick
        set slot 13 of player's current inventory to redstone named "&b Buycraft &7lavet af &9Lauritshejlsted" to be unstealable

        wait 35 ticks
        set slot 13 of player's current inventory to air
        wait 10 ticks   
        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"
        

        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"
        
        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"


plz be nice
 
Use the "on inventory click" event for making them unstealable.
Example:
code_language.skript:
on inventory click:
    name of player's current inventory is " &b Buycraft "
    cancel event
 
Status
Not open for further replies.