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

How To Make A menu Script?example:Enter Game Script After Gui is Clicked

Asked by 10 years ago

Please Help!Ive been trying to make a script for it but i cant Please Help!

1 answer

Log in to vote
1
Answered by 10 years ago

Make the menu GUI (Whatever you want it to look like) then add a textbutton, and put it in the same GUI, but not in a frame then you put this script in it

script.Parent.MouseButton1Down:connect(function() if script.Parent.Parent.Frame.Visible==false then script.Parent.Parent.Frame.Visible=true script.Parent.Text="Close Menu" elseif script.Parent.Parent.Frame.Visible==true then script.Parent.Parent.Frame.Visible=false script.Parent.Text="Open Menu"

0
Thanks FPSStudioDidi 1 — 10y
Ad

Answer this question