Advertisement
Guest User

new lol

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