#"There's no item stack in a periodical event"
1 messages · Page 1 of 1 (latest)
can you take an image of the error you get?
loop all players:
if loop-player's inventory contains netherite sword named "&c&klll&cSword Of Health&c&klll":
apply health boost 2 to loop-player for 0.5 seconds```
Is this your exact code?
no
loop all players:
if loop players inventory contains item named "&c&klll&cSword Of Health&c&klll":
apply health boost 2 to player for 0.5 seconds```
the code I have rn
Try this
so
it kinda works
but when I make it unbreakable
it stops working
which is why I made it item
and not netherite sword
loop all players:
if loop-player's inventory contains item named "&c&klll&cSword Of Health&c&klll":
apply health boost 2 to loop-player for 0.5 seconds```
Then just use item, as it should work. Because it was not why the skript gave you an error.
Ah. Well im not sure I can help you then