Tuske GUI Update

  • 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 comminuty!

    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!

Status
Not open for further replies.

Nils Møller

Member
Jan 22, 2021
3
0
1
23
Code:
format gui slot 10 of player with 5 of red wool named "&4&l-5 Diamanter" with lore "" to run:
            remove 5 from {_antal}
            send "%{_antal}%"
        format gui slot 11 of player with 1 of red wool named "&4&l-1 Diamant" with lore "" to run:
            remove 1 from {_antal}
            send "%{_antal}%"
        format gui slot 13 of player with {_antal} of diamonds named "&3Spil om &e&l%{_antal}% Diamanter" with lore "" to run:
            send "%{_antal}%"
        format gui slot 15 of player with 1 of green wool named "&a&l+1 Diamanter" with lore "" to run:
            add 1 to {_antal}
            send "%{_antal}%"
        format gui slot 16 of player with 5 of green wool named "&a&l+5 Diamanter" with lore "" to run:
            add 5 to {_antal}
            send "%{_antal}%"
        format gui slot 17 of player with 10 of green wool named "&a&l+10 Diamant" with lore "" to run:
            add 10 to {_antal}
            send "%{_antal}%"

Can someone explain to my why {_antal} doesn't change when I press the item
 
Status
Not open for further replies.