I am just trying to start off with a simple/beginner -leveled project and I did a lot research on how I can impact the button to force the textbox to appear but it seems to be not working?
✓ ANSWER ACCEPTED
How can I make a text box appear after i click a part?
1 answer
✓ Accepted answer
local ClickDetector = script.Parent -- where ever the click detector is relative to the script
ClickDetector.MouseClick:Connect(function(player)
local PlayerGui = player:WaitForChild("PlayerGui");
local ScreenUI = PlayerGui:WaitForChild("NameOfScreenGui")
local TextBox = ScreenUI.TextBox
TextBox.Visible = true
end)
After PlayerGui, you have to name your screen gui and then find your text box and make it visible. If you have any questions, just ask me.
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
tks so much dude! Out of curiosity, how long have u been learning to code??
almost 2 years
Also by the way, how did you add that check next to my answer?