Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Can anyone help me with the Textbutton on click then open gui? [closed]

Asked by 6 years ago

i got all of my scripts correct. but i have trouble when you click on a textbutton then it pops up another gui from a different parent

Can anyone help me with that?

0
I have no idea what this means Pejorem 164 — 6y

Closed as Non-Descriptive by hiimgoodpack and DanzLua

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?

1 answer

Log in to vote
0
Answered by
oSyM8V3N 429 Moderation Voter
6 years ago
p = game.Players.LocalPlayer

script.Parent.TextButton.MouseButton1Click:Connect(function()
p.PlayerGui.(whatyouwantheretobevisible).Visible = true
end)

Try that out.

Ad