Advertisement
Guest User

Open/Close/Button/Roblox Studio Tutorial

a guest
Sep 2nd, 2019
21,941
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.29 KB | None | 0 0
  1. Open Button Script
  2. script.Parent.MouseButton1Click:Connect(function()
  3. game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.Visible = true
  4. end)
  5.  
  6. Close Button Script
  7. script.Parent.MouseButton1Click:Connect(function()
  8. game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.Visible = false
  9. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement