#Skript-Gui on left click execute command

1 messages · Page 1 of 1 (latest)

dawn notch
#

I'm currently receiving an issue where whenever I leftclick on the deepslate block, nothing happens. I have skript-gui and am not receiving any errors when I reload the skript. Just doesn't do anything when I click on the deepslate block.

on script load:
create a gui with id "BossGUI" with virtual chest inventory with 3 rows named "&c&lBosses" and shape "xxxxxxxxx", "xabcdefgx", and "xxxxxxxxx":
make gui slot "x" with black stained glass pane named " " # Border

    make gui slot "a" with deepslate named "&2&lCave King"  with lore "&7Click me to teleport!"
    make gui slot "b" with barrier named "&c&lComing soon." with lore "&7Click me to teleport!"
    make gui slot "c" with barrier named "&c&lComing soon." with lore "&7Click me to teleport!"
    make gui slot "d" with barrier named "&c&lComing soon." with lore "&7Click me to teleport!"
    make gui slot "e" with barrier named "&c&lComing soon." with lore "&7Click me to teleport!"
    make gui slot "f" with barrier named "&c&lComing soon." with lore "&7Click me to teleport!"
    make gui slot "g" with barrier named "&c&lComing soon." with lore "&7Click me to teleport!"

on left click:
if clicked block is deepslate named "&2&lCave King" with lore "&7Click me to teleport!":
send "test" to player

command /boss:
aliases: /bosses
trigger:
open gui with id "BossGUI" to player

pastel kestrel
#

on inventory click:

#

on left click is when your damaging a block by mining

floral nest
#

idk if the clicked block thing he has works

#

never tried

wicked glen
#

Doesn't skript-gui support

 Send "barrier named coming soon" to player```
floral nest
#

idk

#

my gui's are made in a completely different way, i honestly don't even know what addon its under

#

💀

wicked glen
#

I just use vanilla skript

floral nest
#

set {_ex} to a new virtual chest inventory with 3 row named "test"

#

and like

wicked glen
#

Ye thats vanilla

floral nest