Advertisement
brianops1

Untitled

Feb 1st, 2020
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.08 KB | None | 0 0
  1. local plr = script.Parent.Parent
  2. plr:WaitForChild("PlayerGui")
  3. function random() local alph = "qwertyuiopasdfghklzxcvbnm";local key = ""
  4.     for i = 1,math.random(5,15) do key = key .. string.sub(alph,i,i) end
  5.     return key
  6. end
  7.  
  8. if not _G.Title then
  9.     _G.Title = random()
  10. end
  11. local find = plr.PlayerGui:FindFirstChild(_G.Title)
  12. if find then
  13.     find:Destroy()
  14.     for i,v in pairs(_G.ButtonGlobals) do
  15.         v = false
  16.     end
  17. end
  18. -------------------------------------------
  19. local ScreenGui = Instance.new("ScreenGui")
  20. local Back = Instance.new("Frame")
  21. local Left = Instance.new("TextButton")
  22. local Label = Instance.new("TextLabel")
  23. local Minimize = Instance.new("TextButton")
  24. local Scripts = Instance.new("ScrollingFrame")
  25. local RefBut = Instance.new("TextButton")
  26. local RefBox = Instance.new("TextBox")
  27. local Right = Instance.new("TextButton")
  28. ScreenGui.Parent = plr.PlayerGui
  29. ScreenGui.Name = _G.Title
  30. Back.Name = random()
  31. Back.Parent = ScreenGui
  32. Back.BackgroundColor3 = Color3.fromRGB(255, 45, 38)
  33. Back.BorderSizePixel = 0
  34. Back.Position = UDim2.new(0.5, -115, 0.5, -150)
  35. Back.Size = UDim2.new(0, 225, 0, 300)
  36. Back.Draggable = true
  37. Back.Active = true
  38. Back.Selectable = true
  39. Left.Name = random()
  40. Left.Parent = Back
  41. Left.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  42. Left.BackgroundTransparency = 0.200
  43. Left.BorderSizePixel = 0
  44. Left.Size = UDim2.new(0, 30, 0, 25)
  45. Left.Font = Enum.Font.SourceSans
  46. Left.Text = "<"
  47. Left.TextColor3 = Color3.fromRGB(0, 0, 0)
  48. Left.TextSize = 14.000
  49. Label.Name = random()
  50. Label.Parent = Back
  51. Label.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  52. Label.BackgroundTransparency = 0.200
  53. Label.BorderSizePixel = 0
  54. Label.Position = UDim2.new(0.13333334, 0, 0, 0)
  55. Label.Size = UDim2.new(0, 165, 0, 25)
  56. Label.Font = Enum.Font.SourceSans
  57. Label.Text = ""
  58. Label.TextColor3 = Color3.fromRGB(0, 0, 0)
  59. Label.TextSize = 12.000
  60. Label.TextWrapped = true
  61. Minimize.Name = random()
  62. Minimize.Parent = Back
  63. Minimize.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  64. Minimize.BackgroundTransparency = 0.200
  65. Minimize.BorderSizePixel = 0
  66. Minimize.Position = UDim2.new(0.866666675, 0, 0, 0)
  67. Minimize.Size = UDim2.new(0, 30, 0, 25)
  68. Minimize.Font = Enum.Font.SourceSans
  69. Minimize.Text = "~"
  70. Minimize.TextColor3 = Color3.fromRGB(0, 0, 0)
  71. Minimize.TextSize = 14.000
  72. Scripts.Name = random()
  73. Scripts.Parent = Back
  74. Scripts.BackgroundColor3 = Color3.fromRGB(199, 199, 199)
  75. Scripts.BackgroundTransparency = 0.200
  76. Scripts.BorderSizePixel = 0
  77. Scripts.Position = UDim2.new(0, 0, 0.0833333358, 0)
  78. Scripts.Size = UDim2.new(0, 225, 0, 275)
  79. Scripts.VerticalScrollBarPosition = Enum.VerticalScrollBarPosition.Left
  80. RefBut.Name = random()
  81. RefBut.Parent = Back
  82. RefBut.BackgroundColor3 = Color3.fromRGB(83, 83, 83)
  83. RefBut.BackgroundTransparency = 0.500
  84. RefBut.BorderSizePixel = 0
  85. RefBut.Position = UDim2.new(0, 17, 0, 0)
  86. RefBut.Size = UDim2.new(0, 201, 0, 25)
  87. RefBut.Visible = false
  88. RefBut.Font = Enum.Font.SourceSans
  89. RefBut.Text = ""
  90. RefBut.TextColor3 = Color3.fromRGB(0, 0, 0)
  91. RefBut.TextSize = 14.000
  92. RefBut.TextWrapped = true
  93. RefBox.Name = random()
  94. RefBox.Parent = Back
  95. RefBox.BackgroundColor3 = Color3.fromRGB(83, 83, 83)
  96. RefBox.BackgroundTransparency = 0.500
  97. RefBox.BorderSizePixel = 0
  98. RefBox.Position = UDim2.new(0, 17, 0, 0)
  99. RefBox.Size = UDim2.new(0, 201, 0, 25)
  100. RefBox.Visible = false
  101. RefBox.ClearTextOnFocus = false
  102. RefBox.Font = Enum.Font.SourceSans
  103. RefBox.Text = ""
  104. RefBox.TextColor3 = Color3.fromRGB(0, 0, 0)
  105. RefBox.TextSize = 14.000
  106. RefBox.TextWrapped = true
  107. Right.Name = random()
  108. Right.Parent = ScreenGui
  109. Right.BackgroundColor3 = Color3.fromRGB(255, 124, 124)
  110. Right.BorderSizePixel = 0
  111. Right.Position = UDim2.new(0, -200, 0, 0)
  112. Right.Size = UDim2.new(0, 29, 0, 25)
  113. Right.Font = Enum.Font.SourceSans
  114. Right.Text = ">"
  115. Right.TextColor3 = Color3.fromRGB(0, 0, 0)
  116. Right.TextSize = 14.000
  117. Right.TextWrapped = true
  118. -------------------------------------------
  119. local m = false
  120. Minimize.MouseButton1Click:connect(function()
  121.     if not m then
  122.         m = true
  123.         Back.Size = UDim2.new(0, 30, 0, 25)
  124.     else
  125.         m = false
  126.         Back.Size = UDim2.new(0, 225, 0, 300)
  127.     end
  128. end)
  129.  
  130. _G.loaded = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement