Need Help With TusKe "If click type"

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

Brot

Member
Aug 12, 2019
11
0
0
21
Germany
Hello i Need help with my Code:
I want to test if the player has clicked with "Shift left click"
Addons:

Skript 1.14.4
SkQuery 1.14.4
TuSKe 1.14.4


Code:
#CODE
#+

        if arg-1 is "+1":
            add 1 to {am.%player%}
            make player execute command "/enchant"
            if click action is shift left mouse button:
                add 10 to {am.%player%}
                make player execute command "/enchant"
# -
        if arg-1 is "-1":
            subtract 1 from {am.%player%}
            make player execute command "/enchant"
            if click action is shift left mouse button:
                subtract 10 from {am.%player%}
                make player execute command "/enchant"
#CODE
if you have questions please ask
 
This does not belong here as it's not a request. Please delete this and post your question in the correct section