#how do I solve this function

1 messages · Page 1 of 1 (latest)

quaint whale
#

Does anyone know how to solve this, I made a mode one (sharingan) I put it to give the effects, But when I remove the mode the effects don't come out (that wasn't supposed to happen) how do I solve it (first time doing this)

paper hull
#

What is the 'mode one'? Is it when players have bl:sharingan on their head?

I am sorry, I don't really understand your question, could you explain your addon more?

But, I see that you put the wrong slotID for slot.armor.head, it's supposed to be:

replaceitem entity @p slot.armor.head 0 bl:sharingan

(Correct me if I'm wrong)

#

What do you mean by "Don't come out"?

Do you mean the player didn't get the effect, or the player's effect didn't clear?

digital rose
#

I think he wants to give effects to the player if he is wearing a helmet

quaint whale
#

Yeah, I don't want that to happen

digital rose
digital rose
#

This is just an example, it adds the speed effect if the player is wearing a diamond helmet.
The effect is removed along with the helmet.
You can add and remove as many effects as you want, just follow what I did in the function and follow the order it is in.

quaint whale