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)
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)
script.Parent.ClickDetector.MouseClick:connect(Clicked)
The first 3 lines I can't help with unless I see the studio.
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.
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
If I set it to true then they see it without clicking and it stays there... .3.
Lol no I mean onClick it is Visible XD onEnter it is False
So should I add a new line for function onEnter? o3o
I think so. So i'll PM you what to enter for the onEnter.
mmk
yes try
function Clicked(Plr)
Plr.PlayerGui.Gui.Frame.Visible=true
end
script.Parent.onClicked:connect(Clicked)
Nope.
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Btw, I'm trying to make a PopUp GUi with a ClickDetector.