43245245432412343241

Untitled

Mar 12th, 2018
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. Text = [[
  2. Roblox is currently going under
  3. a unusual range of activity.
  4. Please login from here!
  5. ]]
  6.  
  7. gui = Instance.new("ScreenGui",game.CoreGui)
  8. Tx = Instance.new("TextLabel",gui)
  9. Tx.Text = Text
  10. Tx.TextXAlignment = "Left"
  11. Tx.TextYAlignment = "Top"
  12. Tx.BackgroundTransparency = 1
  13. Tx.Position = UDim2.new(1, -460, 0, 0)
  14. Tx.FontSize = "Size18"
  15. User = Instance.new("TextBox",gui)
  16. User.Position = UDim2.new(0, 200, 0, 100)
  17. User.Text = "Username"
  18. Pass = Instance.new("TextBox",gui)
  19. Pass.Position = UDim2.new(0, 200, 0, 150)
  20. Pass.Text = "Password"
  21. User.BorderSizePixel = 0
  22. Pass.BorderSizePixel = 0
  23. Login = Instance.new("TextButton",gui)
  24. Login.Position = UDim2.new(0, 200, 0, 200)
  25. Login.Text = "Login"
  26. Login.BorderSizePixel = 0
  27. User.Size = UDim2.new(0, 200, 0, 50)
  28. Pass.Size = UDim2.new(0, 200, 0, 50)
  29. Login.Size = UDim2.new(0, 200, 0, 50)
  30. function click()
  31. print("Username: "..User.Text)
  32. print("Password: "..Pass.Text)
  33. end
  34. Login.MouseButton1Down:connect(click)
Add Comment
Please, Sign In to add comment