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!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Armor that give potion effect

Discussion in 'Requests' started by RedDiamond, Dec 21, 2020.

  1. RedDiamond

    RedDiamond Member

    Joined:
    Nov 30, 2020
    Messages:
    16
    Likes Received:
    0
    So I want to make a skript that when player wear a player head/armor with a specific name it gives them haste effect to the player and when they do not wear the armor the effect remove, but I don't know how to make it work, can someone help me with it.
     
  2. Tom_V

    Tom_V Member

    Joined:
    Jul 6, 2020
    Messages:
    19
    Likes Received:
    0
    Code (Text):
    1. on armor change:
    2.     if event-item is golden helmet named "&eHaste Helmet":
    3.         while player is wearing golden helmet named "&eHaste Helmet":
    4.             apply haste without particles to player for 5 seconds
    5.             wait 5 seconds
     
  3. RedDiamond

    RedDiamond Member

    Joined:
    Nov 30, 2020
    Messages:
    16
    Likes Received:
    0
    ca
    can i change it to player head? is it still gonna work?
     
  4. Tom_V

    Tom_V Member

    Joined:
    Jul 6, 2020
    Messages:
    19
    Likes Received:
    0
    Yes it works with player head
     
  5. RedDiamond

    RedDiamond Member

    Joined:
    Nov 30, 2020
    Messages:
    16
    Likes Received:
    0
    and do u know how to remove the effect when the player took it off?
     
  6. Tom_V

    Tom_V Member

    Joined:
    Jul 6, 2020
    Messages:
    19
    Likes Received:
    0
    The script I sent you removes the effect when the player takes it off
     

Share This Page

Loading...