Advertisement
karobloxYT

Untitled

Mar 6th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.83 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local ScreenGui = Instance.new("ScreenGui")
  5. local Frame = Instance.new("Frame")
  6. local TEStccC = Instance.new("TextLabel")
  7. local CCtest = Instance.new("TextButton")
  8. local Close = Instance.new("TextButton")
  9. local Open = Instance.new("TextButton")
  10. --Properties:
  11. ScreenGui.Parent = game.CoreGui
  12.  
  13. Frame.Parent = ScreenGui
  14. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  15. Frame.Position = UDim2.new(0.186535776, 0, 0.17693837, 0)
  16. Frame.Size = UDim2.new(0, 447, 0, 256)
  17. Frame.Style = Enum.FrameStyle.DropShadow
  18. Frame.Draggable = true
  19. Frame.Active =true
  20.  
  21. TEStccC.Name = "TESt ccC"
  22. TEStccC.Parent = Frame
  23. TEStccC.BackgroundColor3 = Color3.new(0, 1, 1)
  24. TEStccC.Position = UDim2.new(0.0492170006, 0, 0.00390625, 0)
  25. TEStccC.Size = UDim2.new(0, 387, 0, 50)
  26. TEStccC.Font = Enum.Font.SourceSans
  27. TEStccC.Text = "ka roblox YT"
  28. TEStccC.TextColor3 = Color3.new(1, 0, 0)
  29. TEStccC.TextSize = 30
  30.  
  31. CCtest.Name = "CC test"
  32. CCtest.Parent = Frame
  33. CCtest.BackgroundColor3 = Color3.new(1, 1, 1)
  34. CCtest.Position = UDim2.new(0.237136468, 0, 0.3125, 0)
  35. CCtest.Size = UDim2.new(0, 200, 0, 50)
  36. CCtest.Font = Enum.Font.SourceSans
  37. CCtest.Text = "CC test"
  38. CCtest.TextColor3 = Color3.new(0, 0, 0)
  39. CCtest.TextSize = 14
  40. CCtest.MouseButton1Down:connect(function()
  41. Scripthere
  42. end)
  43.  
  44. Close.Name = "Close"
  45. Close.Parent = ScreenGui
  46. Close.BackgroundColor3 = Color3.new(1, 1, 1)
  47. Close.BorderSizePixel = 5
  48. Close.Position = UDim2.new(0, 0, 0, 10)
  49. Close.Size = UDim2.new(0, 150, 0, 50)
  50. Close.Font = Enum.Font.SourceSans
  51. Close.Text = "Close"
  52. Close.TextSize = 24
  53.  
  54. Open.Name = "Open"
  55. Open.Parent = ScreenGui
  56. Open.BackgroundColor3 = Color3.new(1, 1, 1)
  57. Open.BorderSizePixel = 5
  58. Open.Position = UDim2.new(0, 0, 0, 10)
  59. Open.Size = UDim2.new(0, 150, 0, 50)
  60. Open.Font = Enum.Font.SourceSans
  61. Open.Text = "Open"
  62. Open.TextSize = 24
  63. -- Scripts:
  64. function SCRIPT_FKAN81_FAKESCRIPT() -- Close.ClosingScript
  65. local script = Instance.new('Script')
  66. script.Parent = Close
  67. function onClick()
  68.  
  69. script.Parent.Parent.Frame.Visible = false -- Makes frame invisible
  70. local frame = script.Parent.Parent.Frame
  71. script.Parent.Visible = false -- Makes Open Button Invisible
  72. script.Parent.Parent.Open.Visible = true
  73. end
  74.  
  75.  
  76. script.Parent.MouseButton1Down:connect(onClick)
  77.  
  78. end
  79. coroutine.resume(coroutine.create(SCRIPT_FKAN81_FAKESCRIPT))
  80. function SCRIPT_TYLM70_FAKESCRIPT() -- Open.OpeningScript
  81. local script = Instance.new('Script')
  82. script.Parent = Open
  83. function onClick()
  84.  
  85. script.Parent.Parent.Frame.Visible = true
  86. local frame = script.Parent.Parent.Frame
  87. script.Parent.Visible = false -- Makes Open Button Invisible
  88. script.Parent.Parent.Close.Visible = true
  89.  
  90. end
  91.  
  92. script.Parent.MouseButton1Down:connect(onClick)
  93.  
  94. end
  95. coroutine.resume(coroutine.create(SCRIPT_TYLM70_FAKESCRIPT))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement