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

How to make this GUI open a frame outside of its normal frame?

Asked by
notfenv 171
5 years ago

Yes you might remember me, the guy who made the border game. My PC was reset due to a ransomware virus but thats not what I'm talking about here, it's just to let you know.

Now, moving on to my problem. Basically I am trying to make it so the Text button can reach from the control frame to the TeamsFrame, means when I click the GUI in-game (team button) It will show the GUI, and close once clicked again. !enter image description here Now I'll show the script, this is a normal, not a local and this was an attempt, I am not sure about the top line.

local frame = script.Main.Main.TeamsFrame

function onClick(mouse)

if frame.Visible == true then

--CloseOpen.Text = "O"

frame.Visible = false

else

frame.Visible = true

--CloseOpen.Text = "C"

end

end



script.Parent.MouseButton1Click:Connect(onClick)

Please help if you can. GUI: !

0
Yo, where is this script you just showed located? could you collapse the Team textbox and scroll up a bit please? thanks. xXKingCool258Xx 39 — 5y
0
Could you elaborate a bit more. Im not fully understanding you here. If you want to know how to move it, just change the parent. Or you could just have another button. mc3334 649 — 4y

Answer this question