#how remove click on item

1 messages · Page 1 of 1 (latest)

boreal ether
#

on inventory click:

#

cancel event

sturdy sentinel
# boreal ether on inventory click:

if I do this, then the second part of this script, where the player puts things there, will not work

    if name of event-inventory is "&7           some name &7--":
        play sound "entity.villager.yes" with volume 50 and pitch 2.0 to the player
        loop all items in event-inventory where [name of input is not "some lore"]:
            add (item amount of loop-item) to {_count}
            set {_count1} to {_count}*5
        if {_count} > 0:
            send title "&e+ %{_count1}% coins!" to player for 0.5 second
            add {_count1} to player's balance
            clear event-inventory
    ```
boreal ether
#

maybe check for the item with something like

untold spear
#

if index of event-slot is ___

boreal ether
sturdy sentinel
boreal ether