Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Objects
- local Omni = Instance.new("ScreenGui")
- local Login = Instance.new("Frame")
- local Omniv1Text = Instance.new("TextLabel")
- local Omniunderline = Instance.new("TextLabel")
- local user = Instance.new("TextLabel")
- local pass = Instance.new("TextLabel")
- local Userbox = Instance.new("TextBox")
- local whitelistpass = Instance.new("TextBox")
- local submit = Instance.new("TextButton")
- local HelpButton = Instance.new("TextButton")
- local Open = Instance.new("TextButton")
- local MainPart = Instance.new("Frame")
- local CreditsButton = Instance.new("TextButton")
- local ScriptExeButton = Instance.new("TextButton")
- local ScriptsButton = Instance.new("TextButton")
- local GuisButton = Instance.new("TextButton")
- local ChangelogButton = Instance.new("TextButton")
- -- Properties
- Omni.Name = "Omni"
- Omni.Parent = game.CoreGui
- Login.Name = "Login"
- Login.Parent = Omni
- Login.Active = true
- Login.BackgroundColor3 = Color3.new(0.0705882, 0.054902, 0.27451)
- Login.Position = UDim2.new(0.328960687, 0, 0.290764421, 0)
- Login.Selectable = true
- Login.Size = UDim2.new(0, 500, 0, 343)
- Login.Visible = false
- Omniv1Text.Name = "Omniv1Text"
- Omniv1Text.Parent = Login
- Omniv1Text.BackgroundColor3 = Color3.new(1, 1, 1)
- Omniv1Text.BackgroundTransparency = 1
- Omniv1Text.Position = UDim2.new(0.300000012, 0, 0.0466472283, 0)
- Omniv1Text.Size = UDim2.new(0, 200, 0, 50)
- Omniv1Text.Font = Enum.Font.SourceSans
- Omniv1Text.Text = "Omni V1"
- Omniv1Text.TextColor3 = Color3.new(1, 1, 1)
- Omniv1Text.TextSize = 50
- Omniunderline.Name = "Omniunderline"
- Omniunderline.Parent = Login
- Omniunderline.BackgroundColor3 = Color3.new(1, 1, 1)
- Omniunderline.BackgroundTransparency = 1
- Omniunderline.Position = UDim2.new(0.339000016, 0, 0.0932944566, 0)
- Omniunderline.Size = UDim2.new(0, 161, 0, 60)
- Omniunderline.Font = Enum.Font.SourceSans
- Omniunderline.Text = "---------------"
- Omniunderline.TextColor3 = Color3.new(1, 1, 1)
- Omniunderline.TextSize = 50
- user.Name = "user"
- user.Parent = Login
- user.BackgroundColor3 = Color3.new(1, 1, 1)
- user.BackgroundTransparency = 1
- user.Position = UDim2.new(0, 0, 0.233236149, 0)
- user.Size = UDim2.new(0, 200, 0, 50)
- user.Font = Enum.Font.SourceSans
- user.Text = "Username:"
- user.TextColor3 = Color3.new(1, 1, 1)
- user.TextSize = 30
- pass.Name = "pass"
- pass.Parent = Login
- pass.BackgroundColor3 = Color3.new(1, 1, 1)
- pass.BackgroundTransparency = 1
- pass.Position = UDim2.new(0, 0, 0.425655961, 0)
- pass.Size = UDim2.new(0, 200, 0, 50)
- pass.Font = Enum.Font.SourceSans
- pass.Text = "Password:"
- pass.TextColor3 = Color3.new(1, 1, 1)
- pass.TextSize = 30
- Userbox.Name = "Userbox"
- Userbox.Parent = Login
- Userbox.BackgroundColor3 = Color3.new(0, 0, 0)
- Userbox.Position = UDim2.new(0.340000004, 0, 0.233236149, 0)
- Userbox.Size = UDim2.new(0, 295, 0, 50)
- Userbox.Font = Enum.Font.SourceSans
- Userbox.Text = "Enter Username"
- Userbox.TextColor3 = Color3.new(1, 1, 1)
- Userbox.TextSize = 30
- whitelistpass.Name = "whitelistpass"
- whitelistpass.Parent = Login
- whitelistpass.BackgroundColor3 = Color3.new(0, 0, 0)
- whitelistpass.Position = UDim2.new(0.340000004, 0, 0.427113712, 0)
- whitelistpass.Size = UDim2.new(0, 295, 0, 50)
- whitelistpass.Font = Enum.Font.SourceSans
- whitelistpass.Text = "Enter whitelist code"
- whitelistpass.TextColor3 = Color3.new(1, 1, 1)
- whitelistpass.TextSize = 30
- submit.Name = "submit"
- submit.Parent = Login
- submit.BackgroundColor3 = Color3.new(0, 0, 0)
- submit.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- submit.Position = UDim2.new(0.465000004, 0, 0.644314885, 0)
- submit.Size = UDim2.new(0, 220, 0, 60)
- submit.Font = Enum.Font.SourceSans
- submit.Text = "Login to Omni"
- submit.TextColor3 = Color3.new(1, 1, 1)
- submit.TextSize = 30
- HelpButton.Name = "HelpButton"
- HelpButton.Parent = Login
- HelpButton.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- HelpButton.BorderSizePixel = 0
- HelpButton.Position = UDim2.new(-0.000985898077, 0, 0.854922354, 0)
- HelpButton.Size = UDim2.new(0, 43, 0, 50)
- HelpButton.Font = Enum.Font.SourceSans
- HelpButton.Text = "Help"
- HelpButton.TextColor3 = Color3.new(1, 1, 1)
- HelpButton.TextScaled = true
- HelpButton.TextSize = 14
- HelpButton.TextWrapped = true
- Open.Name = "Open"
- Open.Parent = Omni
- Open.BackgroundColor3 = Color3.new(0.760784, 0.0392157, 0.0392157)
- Open.BorderSizePixel = 0
- Open.Position = UDim2.new(0, 0, 0.635696828, 0)
- Open.Size = UDim2.new(0, 212, 0, 51)
- Open.Visible = false
- Open.Font = Enum.Font.SourceSans
- Open.Text = "Open Omni Gui V1"
- Open.TextColor3 = Color3.new(1, 1, 1)
- Open.TextSize = 14
- MainPart.Name = "MainPart"
- MainPart.Parent = Omni
- MainPart.BackgroundColor3 = Color3.new(1, 1, 1)
- MainPart.BackgroundTransparency = 1
- MainPart.Position = UDim2.new(0, 0, 0.336185813, 0)
- MainPart.Size = UDim2.new(0, 201, 0, 372)
- MainPart.Visible = false
- CreditsButton.Name = "CreditsButton"
- CreditsButton.Parent = MainPart
- CreditsButton.BackgroundColor3 = Color3.new(1, 1, 1)
- CreditsButton.Position = UDim2.new(0, 0, 0.833449543, 0)
- CreditsButton.Size = UDim2.new(0, 200, 0, 50)
- CreditsButton.Font = Enum.Font.SourceSans
- CreditsButton.Text = "Credits"
- CreditsButton.TextColor3 = Color3.new(0.956863, 0.0235294, 0.956863)
- CreditsButton.TextSize = 30
- ScriptExeButton.Name = "ScriptExeButton"
- ScriptExeButton.Parent = MainPart
- ScriptExeButton.BackgroundColor3 = Color3.new(1, 1, 1)
- ScriptExeButton.Position = UDim2.new(0, 0, 0.593047917, 0)
- ScriptExeButton.Size = UDim2.new(0, 200, 0, 50)
- ScriptExeButton.Font = Enum.Font.SourceSans
- ScriptExeButton.Text = "Script Exe"
- ScriptExeButton.TextColor3 = Color3.new(0.0745098, 0.0745098, 1)
- ScriptExeButton.TextSize = 30
- ScriptsButton.Name = "ScriptsButton"
- ScriptsButton.Parent = MainPart
- ScriptsButton.BackgroundColor3 = Color3.new(1, 1, 1)
- ScriptsButton.Position = UDim2.new(0, 0, 0.37528953, 0)
- ScriptsButton.Size = UDim2.new(0, 200, 0, 50)
- ScriptsButton.Font = Enum.Font.SourceSans
- ScriptsButton.Text = "Scripts"
- ScriptsButton.TextColor3 = Color3.new(0.203922, 0.784314, 0.0431373)
- ScriptsButton.TextSize = 30
- GuisButton.Name = "GuisButton"
- GuisButton.Parent = MainPart
- GuisButton.BackgroundColor3 = Color3.new(1, 1, 1)
- GuisButton.Position = UDim2.new(0, 0, 0.124833658, 0)
- GuisButton.Size = UDim2.new(0, 200, 0, 50)
- GuisButton.Font = Enum.Font.SourceSans
- GuisButton.Text = "Guis"
- GuisButton.TextColor3 = Color3.new(0.639216, 0.670588, 0.0156863)
- GuisButton.TextSize = 30
- ChangelogButton.Name = "ChangelogButton"
- ChangelogButton.Parent = MainPart
- ChangelogButton.BackgroundColor3 = Color3.new(1, 1, 1)
- ChangelogButton.Position = UDim2.new(0, 0, -0.113688052, 0)
- ChangelogButton.Size = UDim2.new(0, 200, 0, 50)
- ChangelogButton.Font = Enum.Font.SourceSans
- ChangelogButton.Text = "Changelog"
- ChangelogButton.TextColor3 = Color3.new(0.784314, 0, 0.0117647)
- ChangelogButton.TextSize = 30
- ---Login functions---
- submit.MouseButton1Down:connect(function()
- if Userbox.Text == "Omni" and whitelistpass.Text == "BetaTester" then
- Login.Visible = false
- MainPart.Visible = true
- end
- end)
- ---End Login functions---
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement