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

Uhm, is there an issue with this?

Asked by 10 years ago

I got this script from another question, and I followed all the steps.... Is there something wrong with it?

function Clicked(Plr)
Plr.PlayerGui.Gui.Frame.Visible=true
end

script.Parent.MouseClick:connect(Clicked)

0
Btw, I'm trying to make a PopUp GUi with a ClickDetector. Seaspirit89 0 — 10y

2 answers

Log in to vote
0
Answered by 10 years ago
script.Parent.ClickDetector.MouseClick:connect(Clicked)

The first 3 lines I can't help with unless I see the studio.

0
Let me just describe it. I put the script inside of the ClickDetector which I put inside of a part. Then I put a GUI and a frame in that in PlayerGui and set it's visibility valure to false. Seaspirit89 0 — 10y
0
Woah Woah Woah. You put the script inside of the part. (Not the click detector) and then make the GUI and a frame inside of the PlayerGUI and set it's visibility to true. False = Invis | True = Visible RolandStudio 115 — 10y
0
If I set it to true then they see it without clicking and it stays there... .3. Seaspirit89 0 — 10y
0
Lol no I mean onClick it is Visible XD onEnter it is False RolandStudio 115 — 10y
View all comments (3 more)
0
So should I add a new line for function onEnter? o3o Seaspirit89 0 — 10y
0
I think so. So i'll PM you what to enter for the onEnter. RolandStudio 115 — 10y
0
mmk Seaspirit89 0 — 10y
Ad
Log in to vote
0
Answered by 10 years ago

yes try

function Clicked(Plr)
Plr.PlayerGui.Gui.Frame.Visible=true
end

script.Parent.onClicked:connect(Clicked)


0
Nope. Seaspirit89 0 — 10y

Answer this question