Advertisement
HAHOOS

Open/Close GUI Lua roblox studio

Nov 25th, 2019
2,803
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.28 KB | None | 0 0
  1. script.Parent.MouseButton1Click:connect(function()
  2.     if script.Parent.Parent.Frame.Visible == false then
  3.         script.Parent.Text = "Close"
  4.         script.Parent.Parent.Frame.Visible = true
  5.     else
  6.         script.Parent.Text = "Menu"
  7.         script.Parent.Parent.Frame.Visible = false
  8.     end
  9. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement