hello, I wanted to make a skript in which if I clicked with an object on an event block an anvil gui opened for me in which there was a piece of paper inside, but I can't do it.
this is the skript:
this is the skript:
Code:
on rightclick on black glazed terracotta:
if player's tool is a book named "&fCarta &7Standard":
open anvil inventory named "&8Inserisci il PIN" to player
set slot 1 of player's current inventory to paper named "Inserisci il PIN"