Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Uhm, is there an issue with this?

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)

1 comment

0

Btw, I'm trying to make a PopUp GUi with a ClickDetector.

2 answers

script.Parent.ClickDetector.MouseClick:connect(Clicked)

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

7 comments

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.

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

0

If I set it to true then they see it without clicking and it stays there... .3.

0

Lol no I mean onClick it is Visible XD onEnter it is False

0

So should I add a new line for function onEnter? o3o

0

I think so. So i'll PM you what to enter for the onEnter.

0

mmk

yes try

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

script.Parent.onClicked:connect(Clicked)


1 comment

0

Nope.

This discussion is preserved as it was. New answers, comments, and votes are closed.