I am working on a script where you type the command "/name" and it opens an anvil gui that you type in the name you want to be changed to and then click in slot 2 of the anvil on a piece of paper that says submit. I do not know how open an anvil gui, how to set the slots, how to test when paper (submit) is click, or how to create a variable of what they typed.