Hide attributes

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

    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!

Remo

Member
Mar 20, 2024
44
3
8
How can I give a player an unbreakable item with attributes hidden
 
Python:
on item damage:
    if event-item is YOUR_ITEM:
        cancel event

Don't add unbreakable attribute to it. You can make it unbreakable with event while you hiding it.
 
sorry I dont understand. I want to make something like "give 1 wooden sword with all flags hidden with unbreakable with lore of "Sword" to player" but that doesnt work
 
Python:
on item damage:
    if event-item is YOUR_ITEM:
        cancel event

Don't add unbreakable attribute to it. You can make it unbreakable with event while you hiding it.
ooh wait i understand now, thanks ! but is there any way to hide all attributes for example damage and damage speed
 
:emoji_frowning: you don't need that? Why do you want it?
because I want to make a shovel and its supposed to be tool in my server, not combat tool and so thats why I want to keep the damage hidden so its just supposed for mining
 
because I want to make a shovel and its supposed to be tool in my server, not combat tool and so thats why I want to keep the damage hidden so its just supposed for mining
I think it's not a problem... People won't even notice about it. Don't worry :emoji_slight_smile:
 
  • Like
Reactions: Remo