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.

Hide Item Flags

Discussion in 'Skript' started by Stryff, Jun 10, 2021 at 5:44 PM.

  1. Stryff

    Stryff New Member

    Joined:
    Mar 14, 2021
    Messages:
    8
    Likes Received:
    0
    I am trying to make it so if you hold an item it autimatically updates name and lore to it with enchants and all but i cant seem to hide the flag enchants? How would i do that?

    This is my code

    every 1 second:
    loop all players:
    if loop-player is holding end portal frame:
    set name of loop-player's tool to "&bZyair Portal"
    set line 1 of lore of loop-player's tool to "&7Used to craft the"
    set line 2 of lore of loop-player's tool to "&3Rod of Zyair&7."
    enchant loop-player's tool with protection 1
    hide all flags of loop-player's tool
     

Share This Page

Loading...