SHARE
TWEET

Close And Open

a guest Mar 24th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Open Button Script (TextButton Only)
  2.  
  3. local frame = script.Parent.Parent.test
  4. local open = false
  5.  
  6.  
  7. script.Parent.MouseButton1Click:Connect(function()
  8.  if frame.Visible == false then
  9.   frame.Visible = true
  10.  else
  11.   frame.Visible = false
  12.  end
  13. end)
  14.  
  15. Close Button Script (TextButton Only)
  16.  
  17. script.Parent.MouseButton1Click:connect(function()
  18.     script.Parent.Parent.Visible = false
  19. end)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top