gui click event won't work

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

Mathijs

New Member
May 9, 2019
7
0
0
23
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
 
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
How about informing us about your skript and Minecraft version?
 
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>`
 
Last edited:
Status
Not open for further replies.