Variable wont update when promted to

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Mark Erfurt

Member
Jun 18, 2023
2
0
1
Hi so I am working on this gui-menu skript where you can upgrade your armor.
I chose to save and display the "level" of the players armor with a numeral variable. However, for some reason it wont update, it just wont. I tried defining it as a number with:
variables:
{_var.%player%} = 0
that however, did nothing. Please help.

on inventory click: if name of event-inventory is "&b&lUPGRADE": if index o - Pastebin.com

EDIT: I should probably mention i only have
Skript and skript-gui installed.
 

Attachments

  • skript.txt
    530 bytes · Views: 247