1. 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!


    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[Need Help] Compare rightclick and leftclick [hologram]

Discussion in 'Skript' started by Spygain, Jul 15, 2020.

Thread Status:
Not open for further replies.
  1. Spygain

    Spygain Member

    Dec 17, 2019
    Likes Received:
    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 (Text):
    2. command /holo1:
    3.     trigger:
    4.         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}
    5.         wait 10 seconds
    6.         delete holos
    7. on hologram rightclick:
    8.     if event-hologram is {hologram::1}:
    9.         if player has diamond block:
    10.         teleport player at location 2, 4, -2 in world "world"
    11.         broadcast "yes"
    --- Double Post Merged, Jul 17, 2020, Original Post Date: Jul 15, 2020 ---
    Up :emoji_slight_smile:

    Attached Files:

Thread Status:
Not open for further replies.

Share This Page