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!

  2. LOOKING FOR A VERSION OF SKRIPT??:

    You can always check our 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.

gui click event won't work

Discussion in 'Skript' started by Mathijs, Jun 1, 2019.

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

    Mathijs Member

    Joined:
    May 9, 2019
    Messages:
    4
    Likes Received:
    0
    format gui slot 0 of player with black glass named "&c&lEpic test item" to run console command "buyitem black glass %player% black glass" using left mouse button



    when i open the gui it won't execute any command and i can just take it out

    i use TuSke for GUIs
     
  2. Runakai1

    Runakai1 Well-Known Member

    Joined:
    Apr 27, 2018
    Messages:
    398
    Likes Received:
    22
    How about informing us about your skript and Minecraft version?
     
  3. Mathijs

    Mathijs Member

    Joined:
    May 9, 2019
    Messages:
    4
    Likes Received:
    0
    skript version 2.4-alpha1 and minecraft version 1.14.2
     
  4. Runakai1

    Runakai1 Well-Known Member

    Joined:
    Apr 27, 2018
    Messages:
    398
    Likes Received:
    22
    Tuske is not updated to work on 1.14
     
  5. Mathijs

    Mathijs Member

    Joined:
    May 9, 2019
    Messages:
    4
    Likes Received:
    0
    are there any other working addons for GUIS in 1.14.2?
     
  6. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,106
    Likes Received:
    150
    Tuske works fine on 1.14.2
    but `black glass` isn't a thing

    I recommend checking the aliases to see if you are using the correct ones
    https://github.com/SkriptLang/skript-aliases/blob/a4d27b24c75f721d4a5d27f1731b73edd84785e8/decoration.sk#L314



    EDIT:
    I lied, your code works totally fine.

    Im going to guess you are using either `/sk reload all` or `/sk reload scripts` ?
    Don't use those commands, they break tusks GUIs, restart your server and the Gui will work fine
    for reloading your script just use `/sk reload <name of script here>`
     
    #6 ShaneBee, Jun 2, 2019
    Last edited: Jun 2, 2019
Thread Status:
Not open for further replies.
Loading...