Advertisement
XsanityV

My Best GUI Yet...

Aug 22nd, 2019
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.70 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local Login = Instance.new("ScreenGui")
  5. local Frame = Instance.new("Frame")
  6. local EnterPasswordhere = Instance.new("TextBox")
  7. local MainLocal = Instance.new("TextButton")
  8. --Properties:
  9. Login.Name = "Login"
  10. Login.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  11. Login.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  12.  
  13. Frame.Parent = Login
  14. Frame.BackgroundColor3 = Color3.new(0, 0, 0)
  15. Frame.Position = UDim2.new(0.584206283, 0, 0.0513347015, 0)
  16. Frame.Size = UDim2.new(0, 434, 0, 153)
  17.  
  18. EnterPasswordhere.Name = "Enter Password here"
  19. EnterPasswordhere.Parent = Frame
  20. EnterPasswordhere.BackgroundColor3 = Color3.new(0, 0, 0)
  21. EnterPasswordhere.Position = UDim2.new(0.19815667, 0, 0.0784313902, 0)
  22. EnterPasswordhere.Size = UDim2.new(0, 218, 0, 55)
  23. EnterPasswordhere.Font = Enum.Font.SourceSans
  24. EnterPasswordhere.PlaceholderText = "Enter Password here..."
  25. EnterPasswordhere.Text = ""
  26. EnterPasswordhere.TextColor3 = Color3.new(0, 0, 0)
  27. EnterPasswordhere.TextSize = 14
  28.  
  29. MainLocal.Name = "MainLocal"
  30. MainLocal.Parent = Frame
  31. MainLocal.BackgroundColor3 = Color3.new(0.333333, 1, 0)
  32. MainLocal.Position = UDim2.new(0.218894005, 0, 0.581699371, 0)
  33. MainLocal.Size = UDim2.new(0, 200, 0, 50)
  34. MainLocal.Font = Enum.Font.SourceSans
  35. MainLocal.Text = "Submit"
  36. MainLocal.TextColor3 = Color3.new(0, 0, 0)
  37. MainLocal.TextSize = 14
  38. -- Scripts:
  39. function SCRIPT_AAAH72_FAKESCRIPT() -- EnterPasswordhere.RainbowText
  40. local script = Instance.new('LocalScript')
  41. script.Parent = EnterPasswordhere
  42. function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  43.  
  44. counter = 0
  45.  
  46. while wait(0.1)do
  47. script.Parent.TextColor3 = Color3.fromHSV(zigzag(counter),1,1)
  48.  
  49. counter = counter + 0.01
  50. end
  51.  
  52.  
  53.  
  54. end
  55. coroutine.resume(coroutine.create(SCRIPT_AAAH72_FAKESCRIPT))
  56. function SCRIPT_KONP74_FAKESCRIPT() -- EnterPasswordhere.Rainbow Boarder
  57. local script = Instance.new('LocalScript')
  58. script.Parent = EnterPasswordhere
  59. function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  60.  
  61. counter = 0
  62.  
  63. while wait(0.1)do
  64. script.Parent.BorderColor3 = Color3.fromHSV(zigzag(counter),1,1)
  65.  
  66. counter = counter + 0.01
  67. end
  68.  
  69.  
  70.  
  71. end
  72. coroutine.resume(coroutine.create(SCRIPT_KONP74_FAKESCRIPT))
  73. function SCRIPT_QXQY73_FAKESCRIPT() -- MainLocal.LoginCode
  74. local script = Instance.new('LocalScript')
  75. script.Parent = MainLocal
  76. local box = script.Parent.Parent:WaitForChild('Enter Password here')
  77. local button = script.Parent
  78. local code = 'Diet Is cool'
  79. local tries = 0
  80. local maxtries = 3
  81. button.MouseButton1Click:connect(function()
  82. if tries == maxtries then
  83. game.Players.LocalPlayer:Kick()
  84. else
  85.  
  86. if box.Text == code then
  87. button.Text = 'Password accepted - loading the Gui Succes '
  88. wait(2)
  89. script.Parent.Parent.Parent:Destroy()
  90. else
  91. button.Text = 'Incorrect password - '..maxtries - tries..' tries left'
  92. tries = tries + 1
  93. end
  94. end
  95. end)
  96.  
  97. end
  98. coroutine.resume(coroutine.create(SCRIPT_QXQY73_FAKESCRIPT))
  99. function SCRIPT_JNCG71_FAKESCRIPT() -- MainLocal.LocalScript
  100. local script = Instance.new('LocalScript')
  101. script.Parent = MainLocal
  102. script.Parent.MouseButton1Click:Connect(function()
  103. loadstring(game:HttpGet("https://pastebin.com/raw/UYL6EhZy", true))()
  104. end)
  105.  
  106. end
  107. coroutine.resume(coroutine.create(SCRIPT_JNCG71_FAKESCRIPT))
  108. function SCRIPT_LYDI83_FAKESCRIPT() -- Frame.Drag
  109. local script = Instance.new('LocalScript')
  110. script.Parent = Frame
  111. function dragify(Frame)
  112. dragToggle = nil
  113. dragSpeed = .15 -- You can edit this.
  114. dragInput = nil
  115. dragStart = nil
  116. dragPos = nil
  117.  
  118. function updateInput(input)
  119. Delta = input.Position - dragStart
  120. Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + Delta.X, startPos.Y.Scale, startPos.Y.Offset + Delta.Y)
  121. game:GetService("TweenService"):Create(Frame, TweenInfo.new(dragSpeed), {Position = Position}):Play()
  122. end
  123.  
  124. Frame.InputBegan:Connect(function(input)
  125. if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then
  126. dragToggle = true
  127. dragStart = input.Position
  128. startPos = Frame.Position
  129. input.Changed:Connect(function()
  130. if (input.UserInputState == Enum.UserInputState.End) then
  131. dragToggle = false
  132. end
  133. end)
  134. end
  135. end)
  136.  
  137. Frame.InputChanged:Connect(function(input)
  138. if (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then
  139. dragInput = input
  140. end
  141. end)
  142.  
  143. game:GetService("UserInputService").InputChanged:Connect(function(input)
  144. if (input == dragInput and dragToggle) then
  145. updateInput(input)
  146. end
  147. end)
  148. end
  149.  
  150. dragify(script.Parent)
  151.  
  152. end
  153. coroutine.resume(coroutine.create(SCRIPT_LYDI83_FAKESCRIPT))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement