#Inventory layout bugged

1 messages · Page 1 of 1 (latest)

pastel scarab
#
    cancel event
    loop all items in player's inventory:
        if loop-item is stick:
            set {stickslot::%player%} to index of loop-slot
            wait 1 tick
        if loop-item is white wool named "&6Block":
            wait 1 tick
            set {block::%player%} to index of loop-slot
        if loop-item is cobweb:
            wait 1 tick
            set {web::%player%} to index of loop-slot
        if loop-item is ender pearl item:
            wait 1 tick
            set {pearl::%player%} to index of loop-slot```
#

This skript does not work if you dont move every item