I may be dumb but I can`t make it work.. I tried finding a way to do it but it failed and gave me an error (StarterGui is not a member of PlayerGui or something..)
I made this, I know it wont work but I am actually tired.. I have no idea what code should I use to make it work. I know how to read a code but no matter what code I use: It. Never. Works.
local GuiOpener = script.Parent --The part that supposed to open the GUI for me when I touch it
local Gui = game.StarterGui.AreYouSure --The GUI that wont show up
script.Parent.Touched:connect(function()
Gui.TextButton.Visible = true --I have no idea how to use the PlayerGui.
end)
Any help please? I really want to develop my game but this one thing wont let me.. :\

2 comments
Is this a global or local script? Global Scripts cannot access the PlayerGui, but the Touched event is a global function if I am not mistaken.
You are referencing the StarterGui, when you should be referencing the PlayerGui