Advertisement
Guest User

Untitled

a guest
May 24th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.39 KB | None | 0 0
  1. -- Farewell infortality
  2. -- Revamp by ImFrostic, Version 2.81
  3.  
  4. -- Objects
  5.  
  6. local OpenClose = Instance.new("ScreenGui")
  7. local Main = Instance.new("Frame")
  8. local Open = Instance.new("TextButton")
  9. local Close = Instance.new("TextButton")
  10.  
  11. -- Properties
  12.  
  13. OpenClose.Name = "Open&Close"
  14. OpenClose.Parent = game.CoreGui
  15.  
  16. Main.Name = "Main"
  17. Main.Parent = OpenClose
  18. Main.Visible = false
  19. Main.BackgroundColor3 = Color3.new(1, 1, 1)
  20. Main.Position = UDim2.new(0.145912915, 0, 0.103313841, 0)
  21. Main.Size = UDim2.new(0, 173, 0, 215)
  22.  
  23. Open.Name = "Open"
  24. Open.Parent = Main
  25. Open.BackgroundColor3 = Color3.new(1, 1, 1)
  26. Open.Position = UDim2.new(-1.10404623, 0, 1.39534879, 0)
  27. Open.Size = UDim2.new(0, 113, 0, 43)
  28. Open.Font = Enum.Font.SourceSans
  29. Open.Text = "Open"
  30. Open.TextColor3 = Color3.new(0, 0, 0)
  31. Open.TextSize = 14
  32.  
  33. Close.Name = "Close"
  34. Close.Parent = Main
  35. Close.Visible = false
  36. Close.BackgroundColor3 = Color3.new(1, 1, 1)
  37. Close.Position = UDim2.new(-1.10404623, 0, 1.39534879, 0)
  38. Close.Size = UDim2.new(0, 113, 0, 43)
  39. Close.Font = Enum.Font.SourceSans
  40. Close.Text = "Close"
  41. Close.TextColor3 = Color3.new(0, 0, 0)
  42. Close.TextSize = 14
  43.  
  44. Open.MouseButton1Down:connect(function()
  45. Main.Visible = true
  46. Open.Visible = false
  47. Close.Visible = true
  48. end)
  49.  
  50. Close.MouseButton1Down:connect(function()
  51. Main.Visible = false
  52. Open.Visible = true
  53. Close.Visible = false
  54. end)
  55.  
  56. -- Scripts
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement