Guest User

Untitled

a guest
Nov 30th, 2017
17
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.06 KB | None | 0 0
  1. -- Objects
  2. Plr = game.Players.LocalPlayer
  3. Char = Plr.Character
  4. Cerberus = Instance.new("ScreenGui")
  5. Login = Instance.new("Frame")
  6. Background = Instance.new("ImageLabel")
  7. Username = Instance.new("TextBox")
  8. Password = Instance.new("TextBox")
  9. LoginButton = Instance.new("TextButton")
  10. RememberMe = Instance.new("TextButton")
  11. Close = Instance.new("TextButton")
  12. Execution = Instance.new("Frame")
  13. Background_2 = Instance.new("ImageLabel")
  14. Execute = Instance.new("TextButton")
  15. Clear = Instance.new("TextButton")
  16. TopKek = Instance.new("TextBox")
  17. SourceFrame = Instance.new("ScrollingFrame")
  18. Context = Instance.new("TextBox")
  19. Close_2 = Instance.new("TextButton")
  20.  
  21. -- Properties
  22.  
  23. Cerberus.Name = "Cerberus"
  24. Cerberus.Parent = Plr.PlayerGui
  25.  
  26. Login.Name = "Login"
  27. Login.Parent = Cerberus
  28. Login.Active = true
  29. Login.BackgroundColor3 = Color3.new(1, 1, 1)
  30. Login.BackgroundTransparency = 1
  31. Login.Draggable = true
  32. Login.Position = UDim2.new(0, 100, 0, 100)
  33. Login.Size = UDim2.new(0, 335, 0, 283)
  34.  
  35. Background.Name = "Background"
  36. Background.Parent = Login
  37. Background.BackgroundColor3 = Color3.new(1, 1, 1)
  38. Background.Size = UDim2.new(0, 335, 0, 283)
  39. Background.Image = "rbxassetid://705957725"
  40.  
  41. Username.Name = "Username"
  42. Username.Parent = Login
  43. Username.BackgroundColor3 = Color3.new(1, 1, 1)
  44. Username.BackgroundTransparency = 1
  45. Username.Position = UDim2.new(0, 170, 0, 120)
  46. Username.Size = UDim2.new(0, 145, 0, 20)
  47. Username.Font = Enum.Font.SourceSansBold
  48. Username.FontSize = Enum.FontSize.Size18
  49. Username.Text = "-"
  50. Username.TextColor3 = Color3.new(1, 1, 1)
  51. Username.TextSize = 18
  52. Username.TextWrapped = true
  53.  
  54. Password.Name = "Password"
  55. Password.Parent = Login
  56. Password.BackgroundColor3 = Color3.new(1, 1, 1)
  57. Password.BackgroundTransparency = 1
  58. Password.Position = UDim2.new(0, 170, 0, 168)
  59. Password.Size = UDim2.new(0, 145, 0, 20)
  60. Password.Font = Enum.Font.SourceSansBold
  61. Password.FontSize = Enum.FontSize.Size18
  62. Password.Text = "-"
  63. Password.TextColor3 = Color3.new(1, 1, 1)
  64. Password.TextSize = 18
  65. Password.TextWrapped = true
  66.  
  67. LoginButton.Name = "LoginButton"
  68. LoginButton.Parent = Login
  69. LoginButton.BackgroundColor3 = Color3.new(1, 1, 1)
  70. LoginButton.BackgroundTransparency = 1
  71. LoginButton.BorderSizePixel = 0
  72. LoginButton.Position = UDim2.new(0, 165, 0, 198)
  73. LoginButton.Size = UDim2.new(0, 153, 0, 52)
  74. LoginButton.Font = Enum.Font.SourceSans
  75. LoginButton.FontSize = Enum.FontSize.Size14
  76. LoginButton.Text = ""
  77. LoginButton.TextSize = 14
  78.  
  79. RememberMe.Name = "RememberMe"
  80. RememberMe.Parent = Login
  81. RememberMe.BackgroundColor3 = Color3.new(1, 1, 1)
  82. RememberMe.BackgroundTransparency = 1
  83. RememberMe.BorderSizePixel = 0
  84. RememberMe.Position = UDim2.new(0, 164, 0, 260)
  85. RememberMe.Size = UDim2.new(0, 15, 0, 15)
  86. RememberMe.Font = Enum.Font.SourceSans
  87. RememberMe.FontSize = Enum.FontSize.Size14
  88. RememberMe.Text = ""
  89. RememberMe.TextColor3 = Color3.new(1, 1, 1)
  90. RememberMe.TextSize = 14
  91.  
  92. Close.Name = "Close"
  93. Close.Parent = Login
  94. Close.BackgroundColor3 = Color3.new(1, 1, 1)
  95. Close.BackgroundTransparency = 1
  96. Close.BorderSizePixel = 0
  97. Close.Position = UDim2.new(0, 303, 0, 0)
  98. Close.Size = UDim2.new(0, 30, 0, 23)
  99. Close.Font = Enum.Font.SourceSans
  100. Close.FontSize = Enum.FontSize.Size14
  101. Close.Text = ""
  102. Close.TextColor3 = Color3.new(1, 1, 1)
  103. Close.TextSize = 14
  104.  
  105. Execution.Name = "Execution"
  106. Execution.Parent = Cerberus
  107. Execution.Draggable = true
  108. Execution.Active = true
  109. Execution.BackgroundColor3 = Color3.new(1, 1, 1)
  110. Execution.BackgroundTransparency = 1
  111. Execution.Position = UDim2.new(0, 100, 0, 100)
  112. Execution.Size = UDim2.new(0, 448, 0, 433)
  113. Execution.Visible = false
  114.  
  115. Background_2.Name = "Background_2"
  116. Background_2.Parent = Execution
  117. Background_2.BackgroundColor3 = Color3.new(1, 1, 1)
  118. Background_2.Size = UDim2.new(0, 448, 0, 433)
  119. Background_2.Image = "rbxassetid://705980650"
  120.  
  121. Execute.Name = "Execute"
  122. Execute.Parent = Execution
  123. Execute.BackgroundColor3 = Color3.new(1, 1, 1)
  124. Execute.BackgroundTransparency = 1
  125. Execute.Position = UDim2.new(0, 128, 0, 387)
  126. Execute.Size = UDim2.new(0, 110, 0, 40)
  127. Execute.Font = Enum.Font.SourceSans
  128. Execute.FontSize = Enum.FontSize.Size14
  129. Execute.Text = ""
  130. Execute.TextSize = 14
  131.  
  132. Clear.Name = "Clear"
  133. Clear.Parent = Execution
  134. Clear.BackgroundColor3 = Color3.new(1, 1, 1)
  135. Clear.BackgroundTransparency = 1
  136. Clear.Position = UDim2.new(0, 365, 0, 387)
  137. Clear.Size = UDim2.new(0, 75, 0, 40)
  138. Clear.Font = Enum.Font.SourceSans
  139. Clear.FontSize = Enum.FontSize.Size14
  140. Clear.Text = ""
  141. Clear.TextSize = 14
  142.  
  143. TopKek.Name = "TopKek"
  144. TopKek.Parent = Execution
  145. TopKek.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2)
  146. TopKek.BackgroundTransparency = 1
  147. TopKek.Position = UDim2.new(0, 27, 0, 266)
  148. TopKek.Size = UDim2.new(0, 75, 0, 75)
  149. TopKek.Font = Enum.Font.SourceSans
  150. TopKek.FontSize = Enum.FontSize.Size14
  151. TopKek.Text = ""
  152. TopKek.TextSize = 14
  153.  
  154. SourceFrame.Name = "SourceFrame"
  155. SourceFrame.Parent = Execution
  156. SourceFrame.BackgroundColor3 = Color3.new(0.756863, 0.756863, 0.756863)
  157. SourceFrame.BorderSizePixel = 0
  158. SourceFrame.Position = UDim2.new(0, 154, 0, 89)
  159. SourceFrame.Size = UDim2.new(0, 288, 0, 260)
  160. SourceFrame.CanvasSize = UDim2.new(0, 0, 0, 7000)
  161. SourceFrame.ScrollBarThickness = 15
  162.  
  163. Context.Name = "Context"
  164. Context.Parent = SourceFrame
  165. Context.BackgroundColor3 = Color3.new(1, 1, 1)
  166. Context.BorderSizePixel = 0
  167. Context.Size = UDim2.new(0, 272, 0, 7000)
  168. Context.ClearTextOnFocus = false
  169. Context.Font = Enum.Font.Code
  170. Context.FontSize = Enum.FontSize.Size12
  171. Context.MultiLine = true
  172. Context.Text = "print(\"Hello Cerberus\");"
  173. Context.TextSize = 12
  174. Context.TextWrapped = true
  175. Context.TextXAlignment = Enum.TextXAlignment.Left
  176. Context.TextYAlignment = Enum.TextYAlignment.Top
  177.  
  178. Close_2.Name = "Close_2"
  179. Close_2.Parent = Execution
  180. Close_2.BackgroundColor3 = Color3.new(1, 1, 1)
  181. Close_2.BackgroundTransparency = 1
  182. Close_2.BorderSizePixel = 0
  183. Close_2.Position = UDim2.new(0, 418, 0, 0)
  184. Close_2.Size = UDim2.new(0, 30, 0, 23)
  185. Close_2.Font = Enum.Font.SourceSans
  186. Close_2.FontSize = Enum.FontSize.Size14
  187. Close_2.Text = ""
  188. Close_2.TextColor3 = Color3.new(1, 1, 1)
  189. Close_2.TextSize = 14
  190.  
  191.  
  192.  
  193.  
  194. --Functions
  195. Close.MouseEnter:connect(function()
  196. Close.BackgroundTransparency = 0.75
  197. end)
  198. Close.MouseLeave:connect(function()
  199. Close.BackgroundTransparency = 1
  200. end)
  201. Close.MouseButton1Down:connect(function()
  202. Login.Visible = false
  203. end)
  204.  
  205. LoginButton.MouseEnter:connect(function()
  206. LoginButton.BackgroundTransparency = 0.75
  207. end)
  208. LoginButton.MouseLeave:connect(function()
  209. LoginButton.BackgroundTransparency = 1
  210. end)
  211. LoginButton.MouseButton1Down:connect(function()
  212. if Username.Text ~= Plr.Name then
  213. Username.Text = "User not whitelisted"
  214. Password.Text = "User not whitelisted"
  215. elseif Username.Text == Plr.Name then
  216. Login.Visible = false
  217. Execution.Visible = true
  218. end
  219. end)
  220.  
  221. RememberMe.MouseEnter:connect(function()
  222. RememberMe.BackgroundTransparency = 0.75
  223. end)
  224. RememberMe.MouseLeave:connect(function()
  225. RememberMe.BackgroundTransparency = 1
  226. end)
  227. RememberMe.MouseButton1Down:connect(function()
  228. if RememberMe.Text == "" then
  229. RememberMe.Text = "*"
  230. elseif RememberMe.Text == "*" then
  231. RememberMe.Text = ""
  232. end
  233. end)
  234.  
  235. Execute.MouseEnter:connect(function()
  236. Execute.BackgroundTransparency = 0.75
  237. end)
  238. Execute.MouseLeave:connect(function()
  239. Execute.BackgroundTransparency = 1
  240. end)
  241. Execute.MouseButton1Down:connect(function()
  242. loadstring(Context.Text)()
  243. end)
  244.  
  245. Clear.MouseEnter:connect(function()
  246. Clear.BackgroundTransparency = 0.75
  247. end)
  248. Clear.MouseLeave:connect(function()
  249. Clear.BackgroundTransparency = 1
  250. end)
  251. Clear.MouseButton1Down:connect(function()
  252. Context.Text = "Cleared!"
  253. wait(1)
  254. Context.Text = ""
  255. end)
  256.  
  257. TopKek.MouseEnter:connect(function()
  258. TopKek.BackgroundTransparency = 0.75
  259. end)
  260. TopKek.MouseLeave:connect(function()
  261. TopKek.BackgroundTransparency = 1
  262. end)
  263. TopKek.MouseButton1Down:connect(function()
  264. --coming soon
  265. end)
  266.  
  267. Close_2.MouseEnter:connect(function()
  268. Close_2.BackgroundTransparency = 0.75
  269. end)
  270. Close_2.MouseLeave:connect(function()
  271. Close_2.BackgroundTransparency = 1
  272. end)
  273. Close_2.MouseButton1Down:connect(function()
  274. Execution.Visible = false
  275. end)
Add Comment
Please, Sign In to add comment