Some entities use a custom GUI that replaces player.opened. However, they don't auto-close when the player walks away from the entity. This is especially awkward given that entities require you to be close enough in the first place.
This should also extend to the entity being removed or destroyed, as the GUI will remain open and then crash the game when a change is attempted since the entity is no longer valid.
Some entities use a custom GUI that replaces
player.opened
. However, they don't auto-close when the player walks away from the entity. This is especially awkward given that entities require you to be close enough in the first place.