I'm trying to make an FPS game. And I wanted to make a GUI that gives tools when clicked then disappear. I've gone through many problems like getting the LocalPlayer 's name so I won't put any script. Can anyone help?
Remote Events. Since you posted no script, I also won't. Make an event that gives the player the tool and one that removes the tool. Have the gui check if the player currently has or doesn't have the tool and use the events as you should. (should add a boolvalue for a sanity check though it may be unnecessary)
Edit: Misread your post, to remove your gui on click you should run the give tool event then use :Destroy() on the screengui (You should put a GUI copy into the ReplicatedStorage and copy it back if you need it again)
Closed as Non-Descriptive by DeceptiveCaster, starmaq, WideSteal321, and User#24403
This question has been closed because its title or content does not adequately describe the problem you are trying to solve.
Please ensure that your question pertains to your actual problem, rather than your attempted solution. That is, you were trying to solve problem X, and you thought solution Y would work, but instead of asking about X when you ran into trouble, you asked about Y.
Why was this question closed?