#on armor equip spam

1 messages · Page 1 of 1 (latest)

keen cairn
#

why wait a tick

#

and which addon are you using

thorny needle
#

Test it?

weary pulsar
#

i have the wait a tick to see if it worked i tried it withour it also and i am using skript and sharpsk and a few others but i dont believe they affect this

thorny needle
#

Ok so what's the issuer

weary pulsar
#

the issue is that if the player spams the unequip and equip on the hlmet it keeps adding 10 to their armordef

thorny needle
#

Use else if

weary pulsar
#

where?

keen cairn
#

what did it say for the event item

weary pulsar
#

what do you mean?

#
    if name of event-item is "&6&lBlaze Helmet":
        add 10 to {%player%.armordef}
on armor unequip:
    if name of event-item is "&6&lBlaze Helmet":
        add -10 to {%player%.armordef}```
this is what i have it at right now but it still is getting the same issue
thorny needle
#

@weary pulsar put an else if

weary pulsar
#

ok but like where?

thorny needle
#

Ok but like use ur brain

#

You have 2 if statements

weary pulsar
#

sry i just started learning this like a week ago

undone ruin
keen cairn
#

Try that

weary pulsar
#

i tried that lol

thorny needle
#

He's just gonna keep adding

#

He's checking the helmet for the same thing