Advertisement
Guest User

S

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