This is the code:
And if the item on slot 53 named the click event doesnt work.
It's doesnt work for GUIs and if the item named but on normal chest its works.
Code:
on inventory click:
if inventory name of player's current inventory is "&8Animals Hats (1/2)":
if clicked slot is 53:
cancel event
close player's inventory
And if the item on slot 53 named the click event doesnt work.
It's doesnt work for GUIs and if the item named but on normal chest its works.
Last edited: