#gui

1 messages · Page 1 of 1 (latest)

rotund pollen
#

made a gui it opens and there are no erros but when i try clicking on the stone it should teleport me but it doesnt

code:

command /tower:
    trigger:
        set metadata tag "towers" of player to chest inventory with 3 rows named "§0Towers"
        set slot 11 of metadata tag "towers" of player to stone named "§8The cave" with lore "§7Difficulty:" and "§6Normal"
        open (metadata tag "towers" of player) to player
        
on inventory click:
    if event-inventory = (metadata tag "towers" of player):
        cancel event 
    if index of event-slot is 13:
        teleport player to location(3, -22, -32, world("world")) ```
warped hamlet
#

also, please put your code in code blocks, done with 3 backticks on each side like this

warm solar
#

youre checking if its in slot 13, but its actually in slot 11

warped hamlet
#

thas why i told them to debugit