Advertisement
Guest User

NN

a guest
Dec 19th, 2018
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.30 KB | None | 0 0
  1.  
  2. -- Instances:
  3. local DexterHub = Instance.new("ScreenGui")
  4. local WhitelistGui = Instance.new("Frame")
  5. local Username = Instance.new("TextBox")
  6. local Password = Instance.new("TextBox")
  7. local WhitelistText = Instance.new("TextLabel")
  8. local Submit = Instance.new("TextButton")
  9. local MainGui = Instance.new("Frame")
  10. local Title = Instance.new("TextLabel")
  11. local DexterHilton = Instance.new("TextButton")
  12. --Properties:
  13. DexterHub.Name = "DexterHub"
  14. DexterHub.Parent = game.CoreGui
  15.  
  16. WhitelistGui.Name = "WhitelistGui"
  17. WhitelistGui.Parent = DexterHub
  18. WhitelistGui.BackgroundColor3 = Color3.new(1, 1, 1)
  19. WhitelistGui.Position = UDim2.new(0.632911444, 0, 0.464143395, 0)
  20. WhitelistGui.Size = UDim2.new(0, 261, 0, 283)
  21. WhitelistGui.Active = true
  22.  
  23. Username.Name = "Username"
  24. Username.Parent = WhitelistGui
  25. Username.BackgroundColor3 = Color3.new(1, 1, 1)
  26. Username.Position = UDim2.new(0, 0, 0.201413423, 0)
  27. Username.Size = UDim2.new(0, 261, 0, 25)
  28. Username.Font = Enum.Font.SourceSansSemibold
  29. Username.PlaceholderColor3 = Color3.new(0.00392157, 0.698039, 0.0627451)
  30. Username.PlaceholderText = "8-Digit Username"
  31. Username.Text = ""
  32. Username.TextColor3 = Color3.new(0, 0, 0)
  33. Username.TextSize = 14
  34.  
  35. Password.Name = "Password"
  36. Password.Parent = WhitelistGui
  37. Password.BackgroundColor3 = Color3.new(1, 1, 1)
  38. Password.Position = UDim2.new(0, 0, 0.512367487, 0)
  39. Password.Size = UDim2.new(0, 261, 0, 25)
  40. Password.Font = Enum.Font.SourceSansSemibold
  41. Password.PlaceholderColor3 = Color3.new(0.00392157, 0.698039, 0.0627451)
  42. Password.PlaceholderText = "8-Digit Password"
  43. Password.Text = ""
  44. Password.TextColor3 = Color3.new(0, 0, 0)
  45. Password.TextSize = 14
  46.  
  47. WhitelistText.Name = "WhitelistText"
  48. WhitelistText.Parent = WhitelistGui
  49. WhitelistText.BackgroundColor3 = Color3.new(1, 1, 1)
  50. WhitelistText.BorderColor3 = Color3.new(0.333333, 0, 1)
  51. WhitelistText.BorderSizePixel = 0
  52. WhitelistText.Position = UDim2.new(0.114942528, 0, 0.0247349832, 0)
  53. WhitelistText.Size = UDim2.new(0, 200, 0, 36)
  54. WhitelistText.Font = Enum.Font.SourceSans
  55. WhitelistText.Text = "Dexter Hub Whitelist"
  56. WhitelistText.TextColor3 = Color3.new(0, 0, 0)
  57. WhitelistText.TextScaled = true
  58. WhitelistText.TextSize = 14
  59. WhitelistText.TextWrapped = true
  60.  
  61. Submit.Name = "Submit"
  62. Submit.Parent = WhitelistGui
  63. Submit.BackgroundColor3 = Color3.new(1, 1, 1)
  64. Submit.BorderColor3 = Color3.new(0, 0, 0.498039)
  65. Submit.BorderSizePixel = 3
  66. Submit.Position = UDim2.new(0.114942528, 0, 0.710247338, 0)
  67. Submit.Size = UDim2.new(0, 200, 0, 50)
  68. Submit.Font = Enum.Font.SourceSans
  69. Submit.Text = "Submit"
  70. Submit.TextColor3 = Color3.new(0, 0, 0)
  71. Submit.TextSize = 30
  72. Submit.TextWrapped = true
  73. Submit.MouseButton1Click:connect(function()
  74.  
  75. if Username.Text == "Beta" and Password.Text == "BetaTester" then
  76. MainGui.Visible = true
  77. WhitelistGui.Visible = false
  78. end
  79. end)
  80.  
  81.  
  82. MainGui.Name = "MainGui"
  83. MainGui.Parent = DexterHub
  84. MainGui.BackgroundColor3 = Color3.new(1, 0.666667, 0)
  85. MainGui.BorderColor3 = Color3.new(1, 1, 0)
  86. MainGui.Position = UDim2.new(0.0267229229, 0, 0.0517928302, 0)
  87. MainGui.Size = UDim2.new(0, 445, 0, 310)
  88.  
  89. Title.Name = "Title"
  90. Title.Parent = MainGui
  91. Title.BackgroundColor3 = Color3.new(1, 1, 1)
  92. Title.BackgroundTransparency = 1
  93. Title.BorderSizePixel = 0
  94. Title.Position = UDim2.new(0.166292131, 0, 0.0483870953, 0)
  95. Title.Size = UDim2.new(0, 329, 0, 50)
  96. Title.Font = Enum.Font.SourceSans
  97. Title.Text = "Dexter Hub v1"
  98. Title.TextColor3 = Color3.new(0, 0, 0)
  99. Title.TextSize = 40
  100. Title.TextWrapped = true
  101.  
  102. DexterHilton.Name = "DexterHilton"
  103. DexterHilton.Parent = MainGui
  104. DexterHilton.BackgroundColor3 = Color3.new(0.666667, 1, 1)
  105. DexterHilton.BorderSizePixel = 2
  106. DexterHilton.Position = UDim2.new(0.0359550565, 0, 0.261290312, 0)
  107. DexterHilton.Size = UDim2.new(0, 114, 0, 50)
  108. DexterHilton.Font = Enum.Font.SourceSans
  109. DexterHilton.Text = "Dexter Hilton Hotels"
  110. DexterHilton.TextColor3 = Color3.new(0, 0, 0)
  111. DexterHilton.TextSize = 14
  112. Submit.MouseButton1Click:connect(function()
  113. loadstring(game:HttpGet(('https://pastebin.com/raw/E5SHqUgW'),true))()
  114. end)
  115.  
  116.  
  117. -- Scripts:
  118. function SCRIPT_NZVT83_FAKESCRIPT() -- MainGui.LocalScript
  119. local script = Instance.new('LocalScript')
  120. script.Parent = MainGui
  121. local UserInputService = game:GetService("UserInputService")
  122.  
  123. local gui = script.Parent
  124.  
  125. local dragging
  126. local dragInput
  127. local dragStart
  128. local startPos
  129.  
  130. local function update(input)
  131. local delta = input.Position - dragStart
  132. gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  133. end
  134.  
  135. gui.InputBegan:Connect(function(input)
  136. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  137. dragging = true
  138. dragStart = input.Position
  139. startPos = gui.Position
  140.  
  141. input.Changed:Connect(function()
  142. if input.UserInputState == Enum.UserInputState.End then
  143. dragging = false
  144. end
  145. end)
  146. end
  147. end)
  148.  
  149. gui.InputChanged:Connect(function(input)
  150. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  151. dragInput = input
  152. end
  153. end)
  154.  
  155. UserInputService.InputChanged:Connect(function(input)
  156. if input == dragInput and dragging then
  157. update(input)
  158. end
  159. end)
  160.  
  161.  
  162.  
  163.  
  164. end
  165. coroutine.resume(coroutine.create(SCRIPT_NZVT83_FAKESCRIPT))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement