1. Welcome to skUnity!




Dismiss Notice

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

    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