#I need help with my gui

1 messages · Page 1 of 1 (latest)

silk osprey
#

use skript gui

#

its a skript addon

verbal ember
#

vanilla is better

silk osprey
#
    trigger:
        set {_reporthead} to player head named "&r&fDo you know who did it or have a suspect?" with lore "&cNo i don't", "&bClick to toggle"
        set metadata tag "report" of player to chest inventory with 1 row named "Report a player"
        set slot 3 of metadata tag "report" of player to {_reporthead}```
#

try that see if it works

glossy hare
#

why not

#
set line x of {_}'s lore to "yes / no"
set event-slot to {_}```
glossy hare
#

?

#

Why

glossy hare
#

You dont have to change that

#

Or you could give it a more descriptive name

#

You want to know if that works?

#

Im not booting up my server and pasting that

#

You can just try it

#

Much faster

glossy hare
#

Oh

#

You were supposed to pick

#

Between yes or no

#

Thats just the code to Change it

#

Its not gonna detect what the lore already is

glossy hare
#

By checking the lore

#

If it says yes change to no