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!


    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.

Set Attribute Data on mob drop and hide

Discussion in 'Skript' started by ScienceTeamKevin, Jan 27, 2021.

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

    Jan 27, 2021
    Likes Received:
    Hello! Im not really new to skript, but still need help on this. How do you attribute data to an item, and then hide that attribute? This is so i can put the armor value in the lore. for example,
    Code (Text):
    1. #im using the minehut tutorial on this. If you have a better solution, have at it
    2. On death:
    3.   if victim's display name is "&cSpider":
    4.     chance of 10%:
    5.       set {_drop} to iron helmet named "&9Spider Helmet" with lore "&7Armor: &c+5" and "&c" and "&9&lRARE"
    6.       drop {_drop} at victim's location
    7.       stop
    If there is any way to change it after you pick it up, that might help with organization

    Also FYI, i dont know if this changes anything, but im using MythicMobs to spawn them in,
Thread Status:
Not open for further replies.

Share This Page