[Need Help] Compare rightclick and leftclick [hologram]

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

Spygain

Member
Dec 17, 2019
3
1
3
27
Minecraft version: 1.14.4
Skript version: 2.4.1

Addons used: MundoSk 1.8.5, SK-NBeeT 2.11.1, Quarsk 1.3.1, Skellet 1.9.8, Skquery-Lime 4.1.2, SkRayFall 1.9.19, Skript-mirror 1.0.0, SkUtilities 0.9.2 , TuSKe 1.8.3-PikachuPatch-v3, Skript-holo 1.0.2

Skript type: Purchase skript sale with a rightclick and leftclick

Skript description:

Good morning all,

I come to you because I have a little concern that I cannot solve, I would like to compare the rightclick and the leftclick roughly the rightclick buys and the leftclick sells, if it is possible of course, but I have test full of form, but none of it works, if you have walkthroughs I agree, I hope my description is clear enough.

Code:
command /holo1:
    trigger:
        create new holo with click-able lines "&fAchat: &a10 &f/ &fVente: &c5" and a iron sword at location 0.700, 6, 0.700 in world "world" and store it in {hologram::1}
        wait 10 seconds
        delete holos
on hologram rightclick:
    if event-hologram is {hologram::1}:
        if player has diamond block:
        teleport player at location 2, 4, -2 in world "world"
        broadcast "yes"
[doublepost=1587311785][/doublepost]Up :emoji_disappointed_relieved:
 

Attachments

  • Capture.JPG
    Capture.JPG
    17.7 KB · Views: 234