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.

flying when wearing armor

Discussion in 'Skript' started by lolgamerslol, Jul 3, 2022.

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

    lolgamerslol Member

    Joined:
    Jul 3, 2022
    Messages:
    1
    Likes Received:
    0
    I need a skript that lets a player fly when wearing iron boots named "&c Fly boots" and only a player with a specific name should be able to use it so like only the player "lolgamerslol" should be able to fly when having these boots on and if others wear them it should not work.
    its like in this video
    Code (Text):
    1. https://youtu.be/Er-iLDdqb0M?t=91
    but without tnt
     
    #1 lolgamerslol, Jul 3, 2022
    Last edited: Jul 3, 2022
  2. Crocie

    Crocie Member

    Joined:
    Jul 2, 2021
    Messages:
    36
    Likes Received:
    0
    You should of put this in requests

    do "/boots" to get the boots
    but if you dont want it you can remove the first half

    Code (Text):
    1.  
    2. command /boots:
    3.     trigger:
    4.         if player's name = "lolgamerslol":
    5.             give player iron boots named "&c Fly boots"
    6.            
    7. on armor change:
    8.     if player's name = "lolgamerslol":
    9.         if "%event-item%" = "iron boots named &c Fly boots":
    10.             enable flight for player
    11.         else:
    12.             disable flight for player
    13.  
     
Thread Status:
Not open for further replies.

Share This Page

Loading...