Advertisement
Guest User

lol

a guest
Jan 9th, 2018
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.92 KB | None | 0 0
  1. -- Objects
  2.  
  3. local Omni = Instance.new("ScreenGui")
  4. local Login = Instance.new("Frame")
  5. local Omniv1Text = Instance.new("TextLabel")
  6. local Omniunderline = Instance.new("TextLabel")
  7. local user = Instance.new("TextLabel")
  8. local pass = Instance.new("TextLabel")
  9. local Userbox = Instance.new("TextBox")
  10. local whitelistpass = Instance.new("TextBox")
  11. local submit = Instance.new("TextButton")
  12. local HelpButton = Instance.new("TextButton")
  13. local Open = Instance.new("TextButton")
  14. local MainPart = Instance.new("Frame")
  15. local CreditsButton = Instance.new("TextButton")
  16. local ScriptExeButton = Instance.new("TextButton")
  17. local ScriptsButton = Instance.new("TextButton")
  18. local GuisButton = Instance.new("TextButton")
  19. local ChangelogButton = Instance.new("TextButton")
  20.  
  21. -- Properties
  22.  
  23. Omni.Name = "Omni"
  24. Omni.Parent = game.CoreGui
  25.  
  26. Login.Name = "Login"
  27. Login.Parent = Omni
  28. Login.Active = true
  29. Login.BackgroundColor3 = Color3.new(0.0705882, 0.054902, 0.27451)
  30. Login.Position = UDim2.new(0.328960687, 0, 0.290764421, 0)
  31. Login.Selectable = true
  32. Login.Size = UDim2.new(0, 500, 0, 343)
  33.  
  34. Omniv1Text.Name = "Omniv1Text"
  35. Omniv1Text.Parent = Login
  36. Omniv1Text.BackgroundColor3 = Color3.new(1, 1, 1)
  37. Omniv1Text.BackgroundTransparency = 1
  38. Omniv1Text.Position = UDim2.new(0.300000012, 0, 0.0466472283, 0)
  39. Omniv1Text.Size = UDim2.new(0, 200, 0, 50)
  40. Omniv1Text.Font = Enum.Font.SourceSans
  41. Omniv1Text.Text = "Omni V1"
  42. Omniv1Text.TextColor3 = Color3.new(1, 1, 1)
  43. Omniv1Text.TextSize = 50
  44.  
  45. Omniunderline.Name = "Omniunderline"
  46. Omniunderline.Parent = Login
  47. Omniunderline.BackgroundColor3 = Color3.new(1, 1, 1)
  48. Omniunderline.BackgroundTransparency = 1
  49. Omniunderline.Position = UDim2.new(0.339000016, 0, 0.0932944566, 0)
  50. Omniunderline.Size = UDim2.new(0, 161, 0, 60)
  51. Omniunderline.Font = Enum.Font.SourceSans
  52. Omniunderline.Text = "---------------"
  53. Omniunderline.TextColor3 = Color3.new(1, 1, 1)
  54. Omniunderline.TextSize = 50
  55.  
  56. user.Name = "user"
  57. user.Parent = Login
  58. user.BackgroundColor3 = Color3.new(1, 1, 1)
  59. user.BackgroundTransparency = 1
  60. user.Position = UDim2.new(0, 0, 0.233236149, 0)
  61. user.Size = UDim2.new(0, 200, 0, 50)
  62. user.Font = Enum.Font.SourceSans
  63. user.Text = "Username:"
  64. user.TextColor3 = Color3.new(1, 1, 1)
  65. user.TextSize = 30
  66.  
  67. pass.Name = "pass"
  68. pass.Parent = Login
  69. pass.BackgroundColor3 = Color3.new(1, 1, 1)
  70. pass.BackgroundTransparency = 1
  71. pass.Position = UDim2.new(0, 0, 0.425655961, 0)
  72. pass.Size = UDim2.new(0, 200, 0, 50)
  73. pass.Font = Enum.Font.SourceSans
  74. pass.Text = "Password:"
  75. pass.TextColor3 = Color3.new(1, 1, 1)
  76. pass.TextSize = 30
  77.  
  78. Userbox.Name = "Userbox"
  79. Userbox.Parent = Login
  80. Userbox.BackgroundColor3 = Color3.new(0, 0, 0)
  81. Userbox.Position = UDim2.new(0.340000004, 0, 0.233236149, 0)
  82. Userbox.Size = UDim2.new(0, 295, 0, 50)
  83. Userbox.Font = Enum.Font.SourceSans
  84. Userbox.Text = "Enter Username"
  85. Userbox.TextColor3 = Color3.new(1, 1, 1)
  86. Userbox.TextSize = 30
  87.  
  88. whitelistpass.Name = "whitelistpass"
  89. whitelistpass.Parent = Login
  90. whitelistpass.BackgroundColor3 = Color3.new(0, 0, 0)
  91. whitelistpass.Position = UDim2.new(0.340000004, 0, 0.427113712, 0)
  92. whitelistpass.Size = UDim2.new(0, 295, 0, 50)
  93. whitelistpass.Font = Enum.Font.SourceSans
  94. whitelistpass.Text = "Enter whitelist code"
  95. whitelistpass.TextColor3 = Color3.new(1, 1, 1)
  96. whitelistpass.TextSize = 30
  97.  
  98. submit.Name = "submit"
  99. submit.Parent = Login
  100. submit.BackgroundColor3 = Color3.new(0, 0, 0)
  101. submit.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  102. submit.Position = UDim2.new(0.465000004, 0, 0.644314885, 0)
  103. submit.Size = UDim2.new(0, 220, 0, 60)
  104. submit.Font = Enum.Font.SourceSans
  105. submit.Text = "Login to Omni"
  106. submit.TextColor3 = Color3.new(1, 1, 1)
  107. submit.TextSize = 30
  108.  
  109. HelpButton.Name = "HelpButton"
  110. HelpButton.Parent = Login
  111. HelpButton.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  112. HelpButton.BorderSizePixel = 0
  113. HelpButton.Position = UDim2.new(-0.000985898077, 0, 0.854922354, 0)
  114. HelpButton.Size = UDim2.new(0, 43, 0, 50)
  115. HelpButton.Font = Enum.Font.SourceSans
  116. HelpButton.Text = "Help"
  117. HelpButton.TextColor3 = Color3.new(1, 1, 1)
  118. HelpButton.TextScaled = true
  119. HelpButton.TextSize = 14
  120. HelpButton.TextWrapped = true
  121.  
  122. Open.Name = "Open"
  123. Open.Parent = Omni
  124. Open.BackgroundColor3 = Color3.new(0.760784, 0.0392157, 0.0392157)
  125. Open.BorderSizePixel = 0
  126. Open.Position = UDim2.new(0, 0, 0.635696828, 0)
  127. Open.Size = UDim2.new(0, 212, 0, 51)
  128. Open.Visible = false
  129. Open.Font = Enum.Font.SourceSans
  130. Open.Text = "Open Omni Gui V1"
  131. Open.TextColor3 = Color3.new(1, 1, 1)
  132. Open.TextSize = 14
  133.  
  134. MainPart.Name = "MainPart"
  135. MainPart.Parent = Omni
  136. MainPart.BackgroundColor3 = Color3.new(1, 1, 1)
  137. MainPart.BackgroundTransparency = 1
  138. MainPart.Position = UDim2.new(0, 0, 0.336185813, 0)
  139. MainPart.Size = UDim2.new(0, 201, 0, 372)
  140. MainPart.Visible = false
  141.  
  142. CreditsButton.Name = "CreditsButton"
  143. CreditsButton.Parent = MainPart
  144. CreditsButton.BackgroundColor3 = Color3.new(1, 1, 1)
  145. CreditsButton.Position = UDim2.new(0, 0, 0.833449543, 0)
  146. CreditsButton.Size = UDim2.new(0, 200, 0, 50)
  147. CreditsButton.Font = Enum.Font.SourceSans
  148. CreditsButton.Text = "Credits"
  149. CreditsButton.TextColor3 = Color3.new(0.956863, 0.0235294, 0.956863)
  150. CreditsButton.TextSize = 30
  151.  
  152. ScriptExeButton.Name = "ScriptExeButton"
  153. ScriptExeButton.Parent = MainPart
  154. ScriptExeButton.BackgroundColor3 = Color3.new(1, 1, 1)
  155. ScriptExeButton.Position = UDim2.new(0, 0, 0.593047917, 0)
  156. ScriptExeButton.Size = UDim2.new(0, 200, 0, 50)
  157. ScriptExeButton.Font = Enum.Font.SourceSans
  158. ScriptExeButton.Text = "Script Exe"
  159. ScriptExeButton.TextColor3 = Color3.new(0.0745098, 0.0745098, 1)
  160. ScriptExeButton.TextSize = 30
  161.  
  162. ScriptsButton.Name = "ScriptsButton"
  163. ScriptsButton.Parent = MainPart
  164. ScriptsButton.BackgroundColor3 = Color3.new(1, 1, 1)
  165. ScriptsButton.Position = UDim2.new(0, 0, 0.37528953, 0)
  166. ScriptsButton.Size = UDim2.new(0, 200, 0, 50)
  167. ScriptsButton.Font = Enum.Font.SourceSans
  168. ScriptsButton.Text = "Scripts"
  169. ScriptsButton.TextColor3 = Color3.new(0.203922, 0.784314, 0.0431373)
  170. ScriptsButton.TextSize = 30
  171.  
  172. GuisButton.Name = "GuisButton"
  173. GuisButton.Parent = MainPart
  174. GuisButton.BackgroundColor3 = Color3.new(1, 1, 1)
  175. GuisButton.Position = UDim2.new(0, 0, 0.124833658, 0)
  176. GuisButton.Size = UDim2.new(0, 200, 0, 50)
  177. GuisButton.Font = Enum.Font.SourceSans
  178. GuisButton.Text = "Guis"
  179. GuisButton.TextColor3 = Color3.new(0.639216, 0.670588, 0.0156863)
  180. GuisButton.TextSize = 30
  181.  
  182. ChangelogButton.Name = "ChangelogButton"
  183. ChangelogButton.Parent = MainPart
  184. ChangelogButton.BackgroundColor3 = Color3.new(1, 1, 1)
  185. ChangelogButton.Position = UDim2.new(0, 0, -0.113688052, 0)
  186. ChangelogButton.Size = UDim2.new(0, 200, 0, 50)
  187. ChangelogButton.Font = Enum.Font.SourceSans
  188. ChangelogButton.Text = "Changelog"
  189. ChangelogButton.TextColor3 = Color3.new(0.784314, 0, 0.0117647)
  190. ChangelogButton.TextSize = 30
  191.  
  192.  
  193. ---Login functions---
  194.  
  195. submit.MouseButton1Down:connect(function()
  196. if Userbox.Text == "Omni" and whitelistpass.Text == "Beta Tester" then
  197. Login.Visible = false
  198.  
  199. wait(3)
  200.  
  201. MainPart.Visible = true
  202. end
  203.  
  204. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement