How to increase the max of an attribute with a consumable?

I need help creating an item that will increase the maximum value of an attribute upon use.

1 Like

First, add a consumable item and make a script that is like this:

Entity attribute:

Player attribute:

2 Likes

Is there anything else besides this required for this to work? It didn’t work for me.

Did you use the trigger “when a unit uses item” in that script. If no, add an item

The script has to be on the item itself right?

No, make it a global script.

Alright, tysm for the help.