Hi, I've been trying for some time to write code that detects the moment I open the GUI to a player, but I can't manage it.
After a long search, I came across a class called "GuiScreen", but I can't use it - it just doesn't exist.
In general, I would like to know how to OPEN a GUI in the form of a chest (player's inventory). This would help me in further work. Thanks in advance.