#"There's no item stack in a periodical event"

1 messages · Page 1 of 1 (latest)

clear marlin
#
  loop all players:
    if loop-player's inventory contains a netherite sword named "&6&klll&6Sword Of Eternal Life&6&klll" and loop-player's netherite sword is unbreakable:
    apply health boost 2 to loop-player for 0.55 seconds```
#

Is there any other event I can use that triggers automatically?

oak sigil
#

the "professional" way to do this would be to first detect when the item gets to the player's inventory, then have a while loop

#

no periodical (so, no every 0.5s)

clear marlin
#

and how do I do that?

subtle sable
oak sigil
#

btw guys the error isnt the one from the code he sent

clear marlin
#

did I put the wrong code?

oak sigil
#

contains a netherite sword
contains item

clear marlin
#

Oh yeah I forgot to change the code

#

mb

#
  loop all players:
    if loop-player's inventory contains item named "&6&klll&6Sword Of Eternal Life&6&klll":
      apply health boost 2 to loop-player for 0.6 seconds```
#

thats the code

#

my baddd

#

sorryyyy

#

but it barely changes it

subtle sable
#

that still wont work

clear marlin
#

wdym?

#

I know it doesn't work, that's why Im here

clear marlin
#

idk how to do that tho

#

I stupid