Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ScreenGui = Instance.new("ScreenGui")
- local LoginGui = Instance.new("Frame")
- local user = Instance.new("TextBox")
- local pass = Instance.new("TextBox")
- local submit = Instance.new("TextButton")
- local maingui = Instance.new("Frame")
- local bubble = Instance.new("TextButton")
- local TextButton = Instance.new("TextButton")
- local opengui = Instance.new("Frame")
- local open = Instance.new("TextButton")
- --Properties:
- ScreenGui.Parent = game.Workspace
- LoginGui.Name = "LoginGui"
- LoginGui.Parent = ScreenGui
- LoginGui.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- LoginGui.BackgroundTransparency = 0.80000001192093
- LoginGui.Position = UDim2.new(0.296620041, 0, 0.292383283, 0)
- LoginGui.Size = UDim2.new(0, 391, 0, 314)
- LoginGui.Active = true
- LoginGui.Draggable = true
- user.Name = "user"
- user.Parent = LoginGui
- user.BackgroundColor3 = Color3.new(1, 1, 1)
- user.Position = UDim2.new(0.221606657, 0, 0.24099724, 0)
- user.Size = UDim2.new(0, 200, 0, 50)
- user.Font = Enum.Font.Garamond
- user.Text = "Username"
- user.TextColor3 = Color3.new(0, 0, 0)
- user.TextScaled = true
- user.TextSize = 14
- user.TextWrapped = true
- pass.Name = "pass"
- pass.Parent = LoginGui
- pass.BackgroundColor3 = Color3.new(1, 1, 1)
- pass.Position = UDim2.new(0.221606657, 0, 0.531855941, 0)
- pass.Size = UDim2.new(0, 200, 0, 50)
- pass.Font = Enum.Font.Garamond
- pass.Text = "Password"
- pass.TextColor3 = Color3.new(0, 0, 0)
- pass.TextScaled = true
- pass.TextSize = 14
- pass.TextWrapped = true
- submit.Name = "submit"
- submit.Parent = LoginGui
- submit.BackgroundColor3 = Color3.new(1, 1, 1)
- submit.Position = UDim2.new(0.221606642, 0, 0.731301963, 0)
- submit.Size = UDim2.new(0, 200, 0, 50)
- submit.Font = Enum.Font.Highway
- submit.Text = "Submit"
- submit.TextColor3 = Color3.new(0, 0, 0)
- submit.TextSize = 14
- if user.Text == "nibbatest" and pass.Text == "nibbatest" then
- LoginGui.Visible = false
- opengui.Visible = true
- end
- end)
- maingui.Name = "maingui"
- maingui.Parent = ScreenGui
- maingui.BackgroundColor3 = Color3.new(1, 1, 1)
- maingui.Position = UDim2.new(0.305944026, 0, 0.186643332, 0)
- maingui.Size = UDim2.new(0, 362, 0, 349)
- maingui.Visible = false
- maingui.Active = true
- maingui.draggable = true
- bubble.Name = "bubble"
- bubble.Parent = maingui
- bubble.BackgroundColor3 = Color3.new(1, 1, 1)
- bubble.BorderSizePixel = 0
- bubble.Position = UDim2.new(0.0745856464, 0, 0.100286536, 0)
- bubble.Size = UDim2.new(0, 124, 0, 50)
- bubble.Font = Enum.Font.Code
- bubble.Text = "Bubble gum"
- bubble.TextColor3 = Color3.new(0, 0, 0)
- bubble.TextScaled = true
- bubble.TextSize = 14
- bubble.TextWrapped = true
- close.Parent = maingui
- close.BackgroundColor3 = Color3.new(1, 1, 1)
- close.BorderSizePixel = 0
- close.Position = UDim2.new(0.903315008, 0, 0, 0)
- close.Size = UDim2.new(0, 35, 0, 42)
- close.Font = Enum.Font.Cartoon
- close.Text = "X"
- close.TextColor3 = Color3.new(0.945098, 0.117647, 0.0431373)
- close.TextScaled = true
- close.TextSize = 14
- close.TextWrapped = true
- close.MouseButton1Down:connect(function()
- maingui.Visible = false
- opengui Visible = true
- end)
- opengui.Name = "opengui"
- opengui.Parent = ScreenGui
- opengui.BackgroundColor3 = Color3.new(1, 0.333333, 1)
- opengui.Position = UDim2.new(0, 0, 0.481572479, 0)
- opengui.Size = UDim2.new(0, 100, 0, 33)
- opengui.Visible = false
- open.Name = "open"
- open.Parent = opengui
- open.BackgroundColor3 = Color3.new(1, 1, 1)
- open.Size = UDim2.new(0, 161, 0, 53)
- open.Font = Enum.Font.Cartoon
- open.Text = "Open/close"
- open.TextColor3 = Color3.new(0, 0, 0)
- open.TextScaled = true
- open.TextSize = 14
- open.TextWrapped = true
- open.MouseButton1Down:connect(function()
- maingui.Visible = true
- opengui.Visible = false
- end)
Add Comment
Please, Sign In to add comment