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.

Holding a specify item = has KeepInventory mode

Discussion in 'Requests' started by 伊藤布哥, Jul 24, 2017.

  1. 伊藤布哥

    伊藤布哥 Member

    Jul 22, 2017
    Likes Received:
    Can anyone code that for me? pls this is real fun for every server:emoji_slight_smile:
    what I want is when you holding a specify item and you are into a KeepInventory mode, once you dead,
    that item will be disappear cause by your death, the Item only get onetime to use,
    like a "Totem of Undying", but I wanna use it on KeepInventory
  2. ShaneBee

    Resource Staff Supporter + Addon Developer

    Sep 7, 2017
    Likes Received:
    Code (Skript):
    1. On death:
    2.     If player is holding a beacon named "&aTotem Of Undying":
    3.         remove 1 beacon named "&aTotem Of Undying" from player's inventory
    4.         Cancel drops