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 our 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 Remove players armour

Discussion in 'Skript' started by iStopcontact, Jul 14, 2017.

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

    iStopcontact Member

    Joined:
    Feb 18, 2017
    Messages:
    97
    Likes Received:
    0
    Heey guys i am working on my own clothes skript for in my hub

    Now i dont know what i need to put in my code so i can remove armour of the player
    for example the helmet, i know its possible with
    Code (Skript):
    1. clear player's inventory
    But that clears the whole inventory i want only the armour to remove
    Can someone maybe help me?
     
  2. Best Answer:
    Post #2 by ShaneBee, Jul 14, 2017
  3. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    1,760
    Likes Received:
    124
    Code (Skript):
    1. set player's helmet to air
    2. set player's chestplate to air
    3. set player's leggings to air
    4. set player's boots to air
     
  4. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    1,760
    Likes Received:
    124
    Thanks! That worked, verry simple didnt think about that haha
     
  5. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    1,760
    Likes Received:
    124
    lekker mowaan
     
Thread Status:
Not open for further replies.
Loading...